allow django admit
This commit is contained in:
parent
a9c3e93954
commit
1610b7d8a4
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue