BOM-1121
-Updated middleware setting to use use middleware insted of middleware_classes -github install of django-method-override fork to support new style middleware in django1.11
This commit is contained in:
@@ -23,7 +23,7 @@ def apply_settings(django_settings):
|
||||
django_settings.FIELDS_STORED_IN_SESSION = ['auth_entry', 'next']
|
||||
|
||||
# Inject exception middleware to make redirects fire.
|
||||
django_settings.MIDDLEWARE_CLASSES.extend(
|
||||
django_settings.MIDDLEWARE.extend(
|
||||
['third_party_auth.middleware.ExceptionMiddleware']
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user