Creating Custom user registration form Django Creating Custom user registration form Django django django

Creating Custom user registration form Django


Here is the problem, you are accessing fields by using label rather it should be accessed by form field name:

self.cleaned_data['First name']

should be

self.cleaned_data['first_name']

Similarly last_name and birthday.