Merge branch 'master' into update-dependencies

This commit is contained in:
Gabriel Augendre 2023-01-30 21:14:23 +01:00
commit 1851a38d62

View file

@ -118,7 +118,8 @@ MIDDLEWARE = [
"csp.middleware.CSPMiddleware",
]
if DEBUG:
MIDDLEWARE.insert(0, "debug_toolbar.middleware.DebugToolbarMiddleware")
index = MIDDLEWARE.index("django.middleware.gzip.GZipMiddleware") + 1
MIDDLEWARE.insert(index, "debug_toolbar.middleware.DebugToolbarMiddleware")
ROOT_URLCONF = "blog.urls"