Django admin login page redirects to same page on correct login credentials

Check that SESSION_COOKIE_SECURE is not set while you are not using HTTPS.


Looks like your cookies are messed up. Please start with clearing cookies in browser. If it doesn't help you can also check if your cookies configuration for project is correct. List of settings for cookies configuration can be found here.


Use the below settings for the SESSION_COOKIE_DOMAIN:

SESSION_COOKIE_DOMAIN = "yourdomain.com"