I have an almost fresh install of django and when I try to python manage.py runserver.It is is giving me this error:
ImproperlyConfigured: WSGI applicati
For whitenoise version 4.0
or above:
- The WSGI integration option for Django (which involved editing wsgi.py) has been removed. Instead, you should add WhiteNoise to your middleware list in settings.py and remove any reference to WhiteNoise from wsgi.py.
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'whitenoise.middleware.WhiteNoiseMiddleware',
# ...
]
'whitenoise.django.GzipManifestStaticFilesStorage'
alias has now been removed. Instead you should use the correct import path: 'whitenoise.storage.CompressedManifestStaticFilesStorage'
.