django admin not working

67 views
Skip to first unread message

Muhammad Tahir

unread,
Oct 20, 2018, 2:03:50 AM10/20/18
to Django developers (Contributions to Django itself)
Hello everyone,
i am following django tutorial (localhost) at following url
https://docs.djangoproject.com/en/2.1/intro/tutorial02/
when i try to access admin i.e http://127.0.0.1:8000/admin it gives error "A server error occurred. Please contact the administrator."
although http://127.0.0.1:8000/polls works fine.

Please help..

Adam Johnson

unread,
Oct 20, 2018, 3:37:21 AM10/20/18
to django-d...@googlegroups.com
This mailing list is for the development of Django itself, not for support. Use the django-users mailing list for that, or IRC #django on freenode, or a site like Stack Overflow.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/d7b3fef3-4d1e-4ef3-ad60-48120b53a691%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Adam

oussama boumaad

unread,
Oct 31, 2018, 1:13:34 PM10/31/18
to django-d...@googlegroups.com
Please check urls.py on the root project
It should contain :
urlpatterns = [ Path('admin/', admin.site.urls), ]

Reply all
Reply to author
Forward
0 new messages