allow django admit

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

View File

@ -43,9 +43,9 @@ INSTALLED_APPS = [
"corsheaders", "corsheaders",
] ]
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 = [
"corsheaders.middleware.CorsMiddleware", "corsheaders.middleware.CorsMiddleware",