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
One of the reason for this issue is if you have a middleware added into django middleware list in settings.py but haven't installed it yet.
In my case I added corsheaders.middleware.CorsMiddleware
which wasn't installed.I installed it using pip install django-cors-headers
and that did the trick.
I encountered the same problem because I added the debug_toolbar Middleware to my settings.py
'debug_toolbar.middleware.DebugToolbarMiddleware',
I solved the problem by removing the debug_toolbar Middleware. I also had to remove debug_toolbar from my INSTALLED APPS.