veryacademy / django-ecommerce-project

The Django-Ecommerce is an open-source project initiative and tutorial series built with Python and the Django Framework.
MIT License
399 stars 278 forks source link

clean_username should be clean_user_name #11

Open Yukinosuke-Takada opened 2 years ago

Yukinosuke-Takada commented 2 years ago

I noticed that on part3/final/account/forms.py on line 35 the validation was not working. it seems to be working because of the django default validation but clean_username() function is not called upon validation on view. The fix should be:

clean_username(self): ↓ clean_user_name(self):

zander9648 commented 2 years ago

Thank you, have made the changes!