Need a Django expert to help me fix abug.

DabsKey254

Newbie
Joined
Sep 28, 2024
Messages
11
Reaction score
8
There's this bug that's driving me crazy.
When doing user authentication in django, I have a login view but the problem is that, only superusers are being granted permission to the site.
The registration form works well but the login form, not quite.
I've tried using AI for help but nothing is really working,
Anyone with a clue please help.
 
There's this bug that's driving me crazy.
When doing user authentication in django, I have a login view but the problem is that, only superusers are being granted permission to the site.
The registration form works well but the login form, not quite.
I've tried using AI for help but nothing is really working,
Anyone with a clue please help.
And I've also tried stack OF but no good solutions there, YouTube the same, even the django platform itself. But I wouldn't mind any solution in mind
 
Could it be a condition in your query for a field that indicates the role ? Sounds stupid but just guessing.

Do you actually manage to log in and then you can't access or you just can't login ?

Can you post more details ?
 
You can try print steps on your Auth Controller and detect what is going on.
I think I cannot help if you cannot offer more insights, so you need to debug to catch some errors and either pass it on this thread or to AI.
 
There's this bug that's driving me crazy.
When doing user authentication in django, I have a login view but the problem is that, only superusers are being granted permission to the site.
The registration form works well but the login form, not quite.
I've tried using AI for help but nothing is really working,
Anyone with a clue please help.
Absolutely nothing anyone can do without a code snippet. It could literally be something as basic as your registration service making the user inactive by default, or calling the wrong method. I'd compare your working and not working views, there will be a difference. You can debug this as well in your IDE running locally
 
There's this bug that's driving me crazy.
When doing user authentication in django, I have a login view but the problem is that, only superusers are being granted permission to the site.
The registration form works well but the login form, not quite.
I've tried using AI for help but nothing is really working,
Anyone with a clue please help.
i guess, you should post in hire a freelancer for this task.
 
Back
Top