diff --git a/designer/settings/base.py b/designer/settings/base.py index b5477f4..51fa06a 100644 --- a/designer/settings/base.py +++ b/designer/settings/base.py @@ -68,6 +68,7 @@ MIDDLEWARE = ( 'edx_django_utils.monitoring.CookieMonitoringMiddleware', 'edx_django_utils.monitoring.DeploymentMonitoringMiddleware', + 'edx_django_utils.cache.middleware.RequestCacheMiddleware', 'waffle.middleware.WaffleMiddleware', 'wagtail.contrib.redirects.middleware.RedirectMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', @@ -78,6 +79,7 @@ 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'social_django.middleware.SocialAuthExceptionMiddleware', + 'edx_rest_framework_extensions.middleware.RequestCustomAttributesMiddleware', ) ROOT_URLCONF = 'designer.urls'