+1 vote
in Data Handling by

What should be done in case you get a message saying “Please enter the correct username and password” even after entering the right details to log in to the admin section in Django?

1 Answer

0 votes
by

In case you have entered the right details and still not able to login to the admin site, cross verify if the user account has is_active and is_staff attributes set to True. The admin site allows only those users for whom these values are set to True.

Related questions

+1 vote
asked Apr 4, 2020 in Data Handling by amita rallin
0 votes
asked May 2, 2020 in Data Handling by James
...