allow django admit

This commit is contained in:
Lukáš Kucharczyk 2023-09-16 18:17:36 +02:00
parent 0b7da3550c
commit ffa8198540
1 changed files with 3 additions and 3 deletions

View File

@ -40,9 +40,9 @@ INSTALLED_APPS = [
"django.contrib.staticfiles", "django.contrib.staticfiles",
] ]
if DEBUG: # if DEBUG:
INSTALLED_APPS.append("django_extensions") INSTALLED_APPS.append("django_extensions")
INSTALLED_APPS.append("django.contrib.admin") INSTALLED_APPS.append("django.contrib.admin")
MIDDLEWARE = [ MIDDLEWARE = [
"django.middleware.security.SecurityMiddleware", "django.middleware.security.SecurityMiddleware",