E
E
Eitanzubu2021-12-07 18:35:17
Django
Eitanzubu, 2021-12-07 18:35:17

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

1 answer(s)
R
Rodion, 2021-12-07
@Eitanzubu

It happens :)
http://www.shirman.gq/admin/
I hope you can notice the error :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question