allow admin in prod 2/2

This commit is contained in:
Lukáš Kucharczyk 2023-09-17 14:12:23 +02:00
parent 65a110b37c
commit d1f843a267
1 changed files with 1 additions and 3 deletions

View File

@ -79,6 +79,4 @@ urlpatterns = [
# if settings.DEBUG:
# urlpatterns.append(path("admin/", admin.site.urls))
if settings.DEBUG:
urlpatterns.append(path("admin/", admin.site.urls))