Fields for password1, password2 show up(at registration page) even after using "exclude" variable in Meta class of UserRegistrationForm in forms.py

Published: 14/06/2019
Fields for password1, password2 show up(at registration page) even after using "exclude" variable in Meta class of UserRegistrationForm in forms.py
Source: STACKOVERFLOW.COM

At the registration page of a Django web app, I want to just ask for desired username and the email address and the system will email a randomly generated password to the user's given id. What should I do with this? I am using django 2.2.2 & python 3.7.3. I am using crispy_forms to render the forms. Relevant django forms documentation here . I have already used the "exclude" variable in the

Read more
Related news
Comment
FACEBOOK