Add: whitenoise middleware

This commit is contained in:
Aroy-Art 2023-10-21 14:51:32 +02:00
parent 781d7b147c
commit 846f6ca869
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

@ -55,6 +55,7 @@ INSTALLED_APPS = [
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'whitenoise.middleware.WhiteNoiseMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',