problems with forms.py in django

34 views
Skip to first unread message

Mihir Patel

unread,
Jul 21, 2022, 1:14:36 PM7/21/22
to Django users
i am using vscode for webdevelopment, i am having lot of errors in built in contrib.auth- forms,  i am unable to authenticate normal user also after signup, kindley plz help with this issue., i have attached screenshot in the conversation.
forms.png

Lakshyaraj Dash

unread,
Jul 21, 2022, 1:43:28 PM7/21/22
to django...@googlegroups.com
Please share your authentication code / your project's source code with me at 
dashlaksh...@gmail.com. I'll not share your code with anyone else. 
Trust me

Thanks & Regards
Lakshyaraj Dash

On Thu, 21 Jul, 2022, 22:44 Mihir Patel, <mihir.p...@gmail.com> wrote:
i am using vscode for webdevelopment, i am having lot of errors in built in contrib.auth- forms,  i am unable to authenticate normal user also after signup, kindley plz help with this issue., i have attached screenshot in the conversation.

--
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/a37f203d-1e41-49c0-9932-a809621dfb7cn%40googlegroups.com.

Mihir Patel

unread,
Jul 21, 2022, 1:48:40 PM7/21/22
to django...@googlegroups.com
It is an inbuilt file which comes during installation in django.contrib.auth- forms.py, try to replace this file in your existing django folder by taking backup your old forms.py, let me know if you having any problem, i am using vscode for development purpose, it shows me 162 errors in terminal when i open this forms.py, i am also unable to authenticate user by right credentials due to these errors.

forms.py

Lakshyaraj Dash

unread,
Jul 21, 2022, 1:52:07 PM7/21/22
to django...@googlegroups.com
I'm asking for the source code of your project. You can send it personally at dashlaks...@gmail.com

Mihir Patel

unread,
Jul 21, 2022, 2:55:03 PM7/21/22
to django...@googlegroups.com
I will send it to you tomorrow, right now, unable to access laptop so, sorry btw thanx for the help., I will send to you views.py tomorrow.

You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/CdSTxy1-7Yw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAF7qQgB9ChDL7aQ_z_wHRMGy5uVurDmb6c8SbzyKv28ChS15Dg%40mail.gmail.com.

Mihir Patel

unread,
Jul 22, 2022, 1:51:12 AM7/22/22
to django...@googlegroups.com
see views.py file, i have used built in authentication form for logged in users, but when i checked actual class comes from forms.py file which is in django.contrib.auth--- forms.py, where i am facing these errors(in built in DJANGO forms.py), do one thing for me if you can, send me your forms.py file from  django.contrib.auth--- forms.py, let me try to replace with your forms.py file.
views.py
forms.png
Reply all
Reply to author
Forward
0 new messages