Remove Django admin
This commit is contained in:
parent
023736d544
commit
eb53a5983c
|
@ -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",
|
||||||
|
|
|
@ -77,6 +77,5 @@ urlpatterns = [
|
||||||
path("tracker/", include("games.urls")),
|
path("tracker/", include("games.urls")),
|
||||||
]
|
]
|
||||||
|
|
||||||
# if settings.DEBUG:
|
if settings.DEBUG:
|
||||||
# urlpatterns.append(path("admin/", admin.site.urls))
|
urlpatterns.append(path("admin/", admin.site.urls))
|
||||||
urlpatterns.append(path("admin/", admin.site.urls))
|
|
||||||
|
|
Loading…
Reference in New Issue