NameError: name 'SignUpForm' is not defined

301 views
Skip to first unread message

Noyon Barman

unread,
Mar 12, 2021, 5:40:48 PM3/12/21
to Django users
I can't fix it, anyone please suggest to me  

Name Error.PNG
Server.PNG

Desh Deepak

unread,
Mar 12, 2021, 10:58:49 PM3/12/21
to django...@googlegroups.com
Need to import form


Ex. From appname import formname

On Sat, 13 Mar 2021, 4:10 am Noyon Barman, <noyonba...@gmail.com> wrote:
I can't fix it, anyone please suggest to me  

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4f9095ca-7715-4496-9072-c372434a918bn%40googlegroups.com.

Desh Deepak

unread,
Mar 12, 2021, 11:01:09 PM3/12/21
to django...@googlegroups.com
Enter after line 6 write this:
from  .forms import SignUpForm

YAYA KONE

unread,
Mar 13, 2021, 10:04:07 AM3/13/21
to django...@googlegroups.com
You must called file SignUpForm in your views and start server

Reply all
Reply to author
Forward
0 new messages