Merge pull request #17522 from edx/dsjen/rename-accessibility-switch

Renamed contentstore waffle namespace to "studio"
This commit is contained in:
Dennis Jen
2018-02-22 11:10:57 -05:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ waffle switches for the contentstore app.
from openedx.core.djangoapps.waffle_utils import WaffleSwitchNamespace
# Namespace
WAFFLE_NAMESPACE = u'accessibility'
WAFFLE_NAMESPACE = u'studio'
# Switches
ENABLE_ACCESSIBILITY_POLICY_PAGE = u'enable_policy_page'
@@ -13,6 +13,6 @@ ENABLE_ACCESSIBILITY_POLICY_PAGE = u'enable_policy_page'
def waffle():
"""
Returns the namespaced, cached, audited Waffle class for Accessibility Accomodation Request Page.
Returns the namespaced, cached, audited Waffle class for Studio pages.
"""
return WaffleSwitchNamespace(name=WAFFLE_NAMESPACE, log_prefix=u'Accessibility: ')
return WaffleSwitchNamespace(name=WAFFLE_NAMESPACE, log_prefix=u'Studio: ')

View File

@@ -19,7 +19,7 @@
"pk": 1,
"model": "waffle.switch",
"fields": {
"name": "accessibility.enable_policy_page",
"name": "studio.enable_policy_page",
"active": true
}
}