Move cache_toolbox from common to openedx/core.

This commit is contained in:
Nimisha Asthagiri
2016-10-06 13:13:43 -04:00
parent 4bb8810957
commit 2c7975f804
14 changed files with 69 additions and 28 deletions

View File

@@ -347,7 +347,7 @@ MIDDLEWARE_CLASSES = (
'method_override.middleware.MethodOverrideMiddleware',
# Instead of AuthenticationMiddleware, we use a cache-backed version
'cache_toolbox.middleware.CacheBackedAuthenticationMiddleware',
'openedx.core.djangoapps.cache_toolbox.middleware.CacheBackedAuthenticationMiddleware',
# Enable SessionAuthenticationMiddleware in order to invalidate
# user sessions after a password change.
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',