Add gzip middleware

This commit is contained in:
Gabriel Augendre 2021-04-15 21:35:42 +02:00
parent 25dfdfc492
commit a72d88771f

View file

@ -76,6 +76,7 @@ INSTALLED_APPS = [
MIDDLEWARE = [
"django.middleware.security.SecurityMiddleware",
"whitenoise.middleware.WhiteNoiseMiddleware",
"django.middleware.gzip.GZipMiddleware",
"debug_toolbar.middleware.DebugToolbarMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.middleware.common.CommonMiddleware",