You did not import the signup form. So showing errors
On Sat, Mar 13, 2021 at 5:48 AM Eduardo Agreda López <eduardoagreda25@gmail.com> wrote:
Do you have create the SingUpForm. If you use Django auth model, can you create the forms.py file and import this path:
from django.contrib.auth.forms import UserCreationFormfrom django.contrib.auth.models import Userinside of the forms.py file create the SingUpForm class and extends of the UserCreationForm module, example:class SignUpForm(UserCreationForm):class Meta:model = Userfields = ('username', 'first_name', 'last_name', 'email', 'password1', 'password2', )Before, in your sign_up view, import you SingUpForm.--El viernes, 12 de marzo de 2021 a las 16:41:40 UTC-6, noyonba...@gmail.com escribió:I can't fix it, anyone please suggest to me.Thanks in advance
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/422bb634-0371-43a0-8f8a-2f5dcfdf93a9n%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAE59x8eg_AqAM6FduwTaGhHU2b4gc%2BtFSRprm5XeSbL%2B62cP0g%40mail.gmail.com.
No comments:
Post a Comment