From 65a110b37c205c2fed87cb9771ee179147fc2290 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sun, 17 Sep 2023 14:03:46 +0200 Subject: [PATCH] allow admin in prod --- timetracker/urls.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/timetracker/urls.py b/timetracker/urls.py index 834ef5b..9de78d7 100644 --- a/timetracker/urls.py +++ b/timetracker/urls.py @@ -77,5 +77,8 @@ urlpatterns = [ path("tracker/", include("games.urls")), ] +# if settings.DEBUG: +# urlpatterns.append(path("admin/", admin.site.urls)) + if settings.DEBUG: urlpatterns.append(path("admin/", admin.site.urls))