Closed HenryMehta closed 6 years ago
Silly - I have return
in the wrong place. I would delete if I could
This isn't a bug in django-registration; a form-level clean()
method in Django must either return a dictionary of cleaned data, or return None
. Your clean()
method sometimes returns a string (return self.cleaned_data['username']
).
I'm trying to set the username to the email field and have created the following form:
I'm calling this through the following class:
I get this error when I submit the from on the field
username