This is the final step in removing the deprecated flag_undefined_default as explained by the following ADR: https://github.com/edx/edx-platform/blob/master/openedx/core/djangoapps/waffle_utils/docs/decisions/0001-refactor-waffle-flag-default.rst Notes: * All uses of flag_undefined_default=False were always supposed to have been no-ops. * All uses of flag_undefined_default=True that are removed in this PR have been replaced by migrations in past PRs. * The temporary metric temp_flag_default_used id no longer reporting any data. ARCHBOM-1305
27 lines
765 B
Python
27 lines
765 B
Python
"""
|
|
Toggles for Course API.
|
|
"""
|
|
|
|
|
|
from openedx.core.djangoapps.waffle_utils import CourseWaffleFlag, WaffleFlag, WaffleFlagNamespace
|
|
|
|
|
|
COURSE_BLOCKS_API_NAMESPACE = WaffleFlagNamespace(name=u'course_blocks_api')
|
|
|
|
# Waffle flag to hide access denial message.
|
|
# .. toggle_name: course_blocks_api.hide_access_denials
|
|
# .. toggle_implementation: WaffleFlag
|
|
# .. toggle_default: False
|
|
# .. toggle_description: ??
|
|
# .. toggle_category: course api
|
|
# .. toggle_use_cases: incremental_release, open_edx
|
|
# .. toggle_creation_date: 2019-04-10
|
|
# .. toggle_expiration_date: ??
|
|
# .. toggle_warnings: ??
|
|
# .. toggle_tickets: ??
|
|
# .. toggle_status: ??
|
|
HIDE_ACCESS_DENIALS_FLAG = WaffleFlag(
|
|
waffle_namespace=COURSE_BLOCKS_API_NAMESPACE,
|
|
flag_name=u'hide_access_denials',
|
|
)
|