-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:
Ayub-khan
2020-02-11 12:45:54 +05:00
parent a9bd66b480
commit d3a02bc3e5
16 changed files with 18 additions and 18 deletions

View File

@@ -1433,7 +1433,7 @@ CREDIT_NOTIFICATION_CACHE_TIMEOUT = 5 * 60 * 60
################################# Middleware ###################################
MIDDLEWARE_CLASSES = [
MIDDLEWARE = [
'openedx.core.lib.x_forwarded_for.middleware.XForwardedForMiddleware',
'crum.CurrentRequestUserMiddleware',