Merge pull request #14353 from edx/renzo/waffle

Reintroduce Waffle
This commit is contained in:
Renzo Lucioni
2017-01-20 17:15:35 -05:00
committed by GitHub
3 changed files with 7 additions and 0 deletions

View File

@@ -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',

View File

@@ -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',

View File

@@ -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