omab / python-social-auth

Social auth made simple
http://psa.matiasaguirre.net
BSD 3-Clause "New" or "Revised" License
2.83k stars 1.09k forks source link

Adding SocialAuthExceptionMiddleware gives object() takes no parameters with Django 1.10? #1087

Closed czarina closed 7 years ago

czarina commented 7 years ago

Adding SocialAuthExceptionMiddleware with Django 1.10 gives:

File "/Library/Python/2.7/site-packages/django/core/wsgi.py", line 14, in get_wsgi_application return WSGIHandler() File "/Library/Python/2.7/site-packages/django/core/handlers/wsgi.py", line 153, in init self.load_middleware() File "/Library/Python/2.7/site-packages/django/core/handlers/base.py", line 82, in load_middleware mw_instance = middleware(handler) TypeError: object() takes no parameters

czarina commented 7 years ago

Needed to update my version.