allow admin in prod
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Lukáš Kucharczyk 2023-09-17 14:03:46 +02:00
parent 6b52c0d4c4
commit 2307fac83a
1 changed files with 3 additions and 0 deletions

View File

@ -23,5 +23,8 @@ urlpatterns = [
path("tracker/", include("games.urls")), path("tracker/", include("games.urls")),
] ]
# if settings.DEBUG:
# urlpatterns.append(path("admin/", admin.site.urls))
if settings.DEBUG: if settings.DEBUG:
urlpatterns.append(path("admin/", admin.site.urls)) urlpatterns.append(path("admin/", admin.site.urls))