docs: update toggle docs
A variety of updates were made to improve the toggle documentation: * Added comments to help ensure that the waffle(), waffle_switches(), waffle_flags() anti-pattern won't be contagious (copied). * Some minor toggle_description updates. * Removed empty toggle_target_removal_date annotations for non-temporary toggles. * Removed empty optional toggle_warnings annotations. * Removed empty optional toggle_tickets annotations. * Removed deprecated toggle_category, toggle_status, and toggle_expiration_date annotations. * Fixed some indents, use cases, and implementations. ARCHBOM-1721
This commit is contained in:
@@ -375,8 +375,6 @@ FEATURES = {
|
||||
# default because enabling allows a method to bypass password policy.
|
||||
# .. toggle_use_cases: open_edx
|
||||
# .. toggle_creation_date: 2020-02-21
|
||||
# .. toggle_target_removal_date: None
|
||||
# .. toggle_warnings: None
|
||||
# .. toggle_tickets: 'https://github.com/edx/edx-platform/pull/21616'
|
||||
'ENABLE_CHANGE_USER_PASSWORD_ADMIN': False,
|
||||
|
||||
@@ -443,8 +441,6 @@ FEATURES = {
|
||||
# otherwise the course creation functionality will work as it should.
|
||||
# .. toggle_use_cases: open_edx
|
||||
# .. toggle_creation_date: 2013-12-02
|
||||
# .. toggle_target_removal_date: None
|
||||
# .. toggle_tickets: None
|
||||
# .. toggle_warnings: Another toggle DISABLE_LIBRARY_CREATION overrides DISABLE_COURSE_CREATION, if present.
|
||||
'DISABLE_COURSE_CREATION': False,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user