Remove Django admin

This commit is contained in:
Lukáš Kucharczyk 2023-11-16 16:25:34 +01:00
parent da0a04e0c6
commit c99743701e
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 3 additions and 3 deletions

View File

@ -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",