django-ecommerce-project icon indicating copy to clipboard operation
django-ecommerce-project copied to clipboard

clean_username should be clean_user_name

Open Yukinosuke-Takada opened this issue 2 years ago • 1 comments

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):

Yukinosuke-Takada avatar May 27 '22 11:05 Yukinosuke-Takada

Thank you, have made the changes!

zander9648 avatar May 27 '22 11:05 zander9648