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.
Source:stackexchange.com