Cpanel Django ERR_TOO_MANY_REDIRECTS on Admin/Auth/User and Admin/Auth/Group Pages

Viewed 21

I'm doing a project for a client using Django and have finally installed it on CPanel. Everything seems to be working great, but when I try to access the admin panel, the tables group or user has an error because it says it's doing a lot of redirections.

In the admin panel, I just have this:

enter image description here

When I try to register something, it loads the page, like this:

enter image description here

But when I try to access the tables, it shows me an ERR_TOO_MANY_REDIRECTS, as shown in the following picture:

enter image description here

It basically says that it's not working and to try to delete my cookies. I did that, and nothing worked. In the urls.py I only have the admin path so the redirection problem is not from something I miscofigured there.

I haven't modified the installation parameters for settings.py besides the Allowed_Host variable to allow the URL of the page, the database connection using PostgreSQL and its working, and the variables of the static files are also working.

So I'm feeling deadlocked because I can't find an answer to this and I don't believe I'm the first one experiencing this.

EDIT: The only new thing that I found is this and as I said I haven't even created files yet so I don't know what Index is this:

enter image description here

If someone knows anything, please let me know.

0 Answers
Related