Revert "ENT-1849: Removed EnterpriseMiddleware"

This commit is contained in:
Zia Fazal
2019-11-27 19:26:07 +05:00
committed by GitHub
parent 0186f5e175
commit 052035bcfd
5 changed files with 85 additions and 34 deletions

View File

@@ -1511,6 +1511,9 @@ MIDDLEWARE_CLASSES = [
'waffle.middleware.WaffleMiddleware',
# Inserts Enterprise content.
'openedx.features.enterprise_support.middleware.EnterpriseMiddleware',
# Enables force_django_cache_miss functionality for TieredCache.
'edx_django_utils.cache.middleware.TieredCacheMiddleware',