Answer the question
In order to leave comments, you need to log in
What to do if django admin panel on heroku won't open?
I just deployed a django project on heroku through genicorn, everything works except for the admin panel.
Yes, I created a superuser, no, I did not change the admin page.
Gives error "DoesNotExist at /admin Url matching query does not exist."
Deploy itself - www.shirman.gq
Working admin panel - www.shirman.gq/admin
urls.py
from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('shortner.urls'))
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question