From 2307fac83abb972e6af2c38b3b04198bbd8d1f0f 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 55e776b..5ed590d 100644 --- a/timetracker/urls.py +++ b/timetracker/urls.py @@ -23,5 +23,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))