Cannot Access Django Admin

60 views
Skip to first unread message

David Corcoran

unread,
Apr 16, 2018, 7:46:09 AM4/16/18
to Django users
I'm trying to locate the Django Admin access. I've tried these two URL configs:

/admin

/adminlogin/?next=/admin

The response returned at these pages is "DoesNotExist".  


Is there a specific folder (part of code), that I could check for these details?  I'm wondering if perhaps this was not set-up during development....if that is the case due to the response, any feedback on where to activate this part of the Django framework in app would be appreciated.

Note: need to reactivate some users within app (due to issue/limitation with API connected), and was hoping to remove the old redundant profile from the Django Admin.  

Thanks,
David

Chasan KIOUTSOUK MOUSTAFA

unread,
Apr 16, 2018, 7:48:46 AM4/16/18
to django...@googlegroups.com
Try this one with trailing slash /admin/

It should work. 

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/627873d8-2f3c-4328-abd2-6be142bc009f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Kind Regards.
--------------------------------------------------
Chasan KIOUTSOUK MOUSTAFA, 
Freelance Software Engineer                      
www.chasank.com
--------------------------------------------------

Chasan KIOUTSOUK MOUSTAFA

unread,
Apr 16, 2018, 7:50:37 AM4/16/18
to django...@googlegroups.com
Also make sure, you have the following configuration on urls.py

from django.contrib import admin
from django.urls import path, include

urlpatterns = [
    path('admin/', admin.site.urls),
]

Álmos Kovács

unread,
Apr 16, 2018, 9:01:03 AM4/16/18
to django...@googlegroups.com
Please also check in the settings.py that admin is in your apps list.

Reply all
Reply to author
Forward
0 new messages