WSGI application Error caused by SocialAuthExceptionMiddleware
I was trying python-social-auth and when I added the middleware
MIDDLEWARE = [
'social_django.middleware.SocialAuthExceptionMiddleware'
...
]
I get this error
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: WSGI application 'djangoauthtest.wsgi.application' could not be loaded; Error importing module.
and I was looking over at other question to look for an answer
and so far I've tried to
- install whitenoise and add whitenoise middleware
- reinstall python-social-app
- use python-social-app 4.0.0
- change
WSGI_APPLICATION = 'myapp.wsgi.application'
toWSGI_APPLICATION = 'wsgi.application'
and nothing worked so far. I'll be thankfull for any kind of advice regarding this!