From 1926c731457e2dd5705acb1c3bd079a16fb5ca48 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 20 Jun 2022 09:12:47 +0100 Subject: [PATCH] Add gzip middleware --- website/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/website/settings.py b/website/settings.py index 99b4350..181a5a8 100644 --- a/website/settings.py +++ b/website/settings.py @@ -47,6 +47,7 @@ INSTALLED_APPS = [ ] MIDDLEWARE = [ + "django.middleware.gzip.GZipMiddleware", "django.middleware.security.SecurityMiddleware", "django.middleware.clickjacking.XFrameOptionsMiddleware", "whitenoise.middleware.WhiteNoiseMiddleware",