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:
@@ -27,9 +27,6 @@ class CourseDurationLimitConfig(StackedConfigurationModel):
|
||||
"enabled_as_of" flag: only enrollments created after this date will be affected.
|
||||
.. toggle_use_cases: opt_in
|
||||
.. toggle_creation_date: 2018-11-02
|
||||
.. toggle_target_removal_date: None
|
||||
.. toggle_warnings: None
|
||||
.. toggle_tickets: None
|
||||
"""
|
||||
|
||||
STACKABLE_FIELDS = ('enabled', 'enabled_as_of')
|
||||
|
||||
Reference in New Issue
Block a user