mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-15 05:57:18 +00:00
rearranged config files
This commit is contained in:
@@ -139,8 +139,9 @@ INSTALLED_APPS = (
|
||||
)
|
||||
|
||||
# See the recommended order of these in https://docs.djangoproject.com/en/2.2/ref/middleware/
|
||||
# Note that tis is a radically different onion architecture though it looks the same,
|
||||
# Note that this is a radically different onion architecture from earlier versions though it looks the same,
|
||||
# see https://docs.djangoproject.com/en/2.0/topics/http/middleware/#upgrading-pre-django-1-10-style-middleware
|
||||
# Seriously, read this: https://www.webforefront.com/django/middlewaredjango.html which is MUCH BETTER than the docs
|
||||
MIDDLEWARE = [
|
||||
#'django.middleware.security.SecurityMiddleware', # SECURE_SSL_REDIRECT and SECURE_SSL_HOST # we don't use this
|
||||
'django.middleware.gzip.GZipMiddleware', # not needed when expofiles and photos served by apache
|
||||
|
||||
Reference in New Issue
Block a user