From d1f843a267d2a34fb63e0a765e951a42d03593f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sun, 17 Sep 2023 14:12:23 +0200 Subject: [PATCH] allow admin in prod 2/2 --- timetracker/urls.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/timetracker/urls.py b/timetracker/urls.py index 9de78d7..ec19e67 100644 --- a/timetracker/urls.py +++ b/timetracker/urls.py @@ -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)) +urlpatterns.append(path("admin/", admin.site.urls))