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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user