Django Login Database Error

14 views
Skip to first unread message

Jumana Shaji

unread,
May 9, 2025, 1:49:33 AMMay 9
to djongo
user = authenticate(request, username=str_username, password=str_password)

if user:
    login(request, user)

  The authenticate function is working correctly and returning the expected result. However, the login function is causing a database error. I would appreciate any help in resolving this issue. Thank you in advance!  
Reply all
Reply to author
Forward
0 new messages