[Answer]-UserCreationForm has no field username

1👍

username is a field, not an attribute on the form. It’s in the cleaned_data dict, just like you do with primary further down.

Leave a comment