Django -adiminstration page is not opening

46 views
Skip to first unread message

Rishabh Rai

unread,
Jan 12, 2020, 8:25:45 AM1/12/20
to Django users
When i try to access my admin panel after entering username and password correctly, instead of taking to next page it shows me fail to load.can any one have any suggestions??

Aniket Jain

unread,
Jan 12, 2020, 8:27:51 AM1/12/20
to django...@googlegroups.com
It might have an issue with the redirecting of the URL

On Sun, 12 Jan, 2020, 6:54 PM Rishabh Rai, <tdfcrish...@gmail.com> wrote:
When i try to access my admin panel after entering username and password correctly, instead of taking to next page it shows me fail to load.can any one have any suggestions??

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3a31e3d5-5d6e-4c83-9dfd-14ecb63e9a49%40googlegroups.com.

Alfredo Silveira

unread,
Jan 12, 2020, 9:49:31 AM1/12/20
to django...@googlegroups.com
Probably you use Django 3 , you must upgrade your python version to 3.8

This error is very common here

Sent from my iPhone

On 12 Jan 2020, at 10:27, Aniket Jain <aniket...@gmail.com> wrote:



maninder singh Kumar

unread,
Jan 16, 2020, 8:06:39 AM1/16/20
to Django users
Could it be that you are using multiple routers for databases.  Just a thought, then it must be in the routing.

vineet daniel

unread,
Jan 16, 2020, 8:21:10 AM1/16/20
to django...@googlegroups.com
What's in the log, share log or stacktrace. Hard to guess anything.

On Sun, 12 Jan 2020, 18:54 Rishabh Rai, <tdfcrish...@gmail.com> wrote:
When i try to access my admin panel after entering username and password correctly, instead of taking to next page it shows me fail to load.can any one have any suggestions??

maninder singh Kumar

unread,
Jan 16, 2020, 9:45:33 AM1/16/20
to django...@googlegroups.com
Without looking at anything else :
1. The database routers are not configured properly.  In the main app/mainapp directory you could write routers.py.  Look at django docs for more info.
2.  The migrations have not happened and you have already written code for the database, assuming you are using a database and have the same error on some or all other pages.
3.  Look at the admin.py for your main app, are the fields and fieldsets in order ?
4.  Share the error for more on this
 
               
 


Reply all
Reply to author
Forward
0 new messages