From c99743701e5a415cb04255f5380e8dfa443707ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Thu, 16 Nov 2023 16:25:34 +0100 Subject: [PATCH] Remove Django admin --- timetracker/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/timetracker/settings.py b/timetracker/settings.py index d87117e..82f5aee 100644 --- a/timetracker/settings.py +++ b/timetracker/settings.py @@ -43,9 +43,9 @@ INSTALLED_APPS = [ "corsheaders", ] -# if DEBUG: -INSTALLED_APPS.append("django_extensions") -INSTALLED_APPS.append("django.contrib.admin") +if DEBUG: + INSTALLED_APPS.append("django_extensions") + INSTALLED_APPS.append("django.contrib.admin") MIDDLEWARE = [ "corsheaders.middleware.CorsMiddleware",