Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean_username should be clean_user_name #11

Open
Yukinosuke-Takada opened this issue May 27, 2022 · 1 comment
Open

clean_username should be clean_user_name #11

Yukinosuke-Takada opened this issue May 27, 2022 · 1 comment

Comments

@Yukinosuke-Takada
Copy link

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
Copy link

Thank you, have made the changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants