Commit 12c595f8 by Renzo Lucioni Committed by GitHub

Merge pull request #14353 from edx/renzo/waffle

Reintroduce Waffle
parents ce97df15 3f6d6cbf
......@@ -393,6 +393,8 @@ MIDDLEWARE_CLASSES = (
# use Django built in clickjacking protection
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'waffle.middleware.WaffleMiddleware',
# This must be last so that it runs first in the process_response chain
'openedx.core.djangoapps.site_configuration.middleware.SessionCookieDomainOverrideMiddleware',
)
......@@ -820,6 +822,7 @@ INSTALLED_APPS = (
# Database-backed configuration
'config_models',
'waffle',
# Monitor the status of services
'openedx.core.djangoapps.service_status',
......
......@@ -1187,6 +1187,8 @@ MIDDLEWARE_CLASSES = (
'openedx.core.djangoapps.theming.middleware.CurrentSiteThemeMiddleware',
'waffle.middleware.WaffleMiddleware',
# This must be last
'openedx.core.djangoapps.site_configuration.middleware.SessionCookieDomainOverrideMiddleware',
)
......@@ -1921,6 +1923,7 @@ INSTALLED_APPS = (
# Database-backed configuration
'config_models',
'waffle',
# Monitor the status of services
'openedx.core.djangoapps.service_status',
......
......@@ -39,6 +39,7 @@ django-user-tasks==0.1.2
#djangorestframework>=3.1,<3.2
git+https://github.com/edx/django-rest-framework.git@3c72cb5ee5baebc4328947371195eae2077197b0#egg=djangorestframework==3.2.3
django==1.8.17
django-waffle==0.11.1
djangorestframework-jwt==1.8.0
djangorestframework-oauth==1.1.0
edx-ccx-keys==0.2.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment