Whitenoise hotfix

This commit is contained in:
keannu125 2023-03-19 21:00:28 +08:00
parent d08be3754f
commit 6ebfd367ab

View file

@ -50,6 +50,7 @@ INSTALLED_APPS = [
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
"whitenoise.middleware.WhiteNoiseMiddleware",
'django.contrib.sessions.middleware.SessionMiddleware',
"corsheaders.middleware.CorsMiddleware",
'django.middleware.common.CommonMiddleware',