Monday, June 21, 2021

Re: Help me - Django and python

I think you're not returning anything in your model.

On Tue, Jun 22, 2021 at 11:24 AM DJANGO DEVELOPER <abubakarbryar@gmail.com> wrote:
can you please share your login view code?

On Tue, Jun 22, 2021 at 10:12 AM avdesh sharma <avdeshsharma286@gmail.com> wrote:
Hi All,

I have an issue coming in my django code, even though the user id and password is present in sqlite3 db still  the user is giving 'None' value 
user = authenticate(username=username, password=password)

and I am not able to login with user and throwing this error.






--
Warm Regards,
Avdesh Kumar Sharma
9650031844

--
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/CAF5Nfo65s-8c75FRkhF0rN7Sh0aUH6eKNBbQ--OMawNPCVX13w%40mail.gmail.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/CAKPY9pkhbyHHZ_gJHbBaVMZZshhGL2ML9c2wURxfJ27X%2B%2B4ETQ%40mail.gmail.com.

No comments:

Post a Comment