fix toggle implementation annotations (#21802)
fix toggle implementation annotations and rename waffle flags
This commit is contained in:
@@ -469,7 +469,7 @@ class CourseAuthorization(models.Model):
|
||||
|
||||
|
||||
# .. toggle_name: require_course_email_auth
|
||||
# .. toggle_type: configuration_model
|
||||
# .. toggle_implementation: ConfigurationModel
|
||||
# .. toggle_default: True (enabled)
|
||||
# .. toggle_description: If the flag is enabled, course-specific authorization is required, and the course_id is either
|
||||
# not provided or not authorixed, the feature is not available.
|
||||
|
||||
@@ -35,7 +35,7 @@ logger = logging.getLogger(__name__)
|
||||
experiments_namespace = WaffleFlagNamespace(name=u'experiments')
|
||||
|
||||
# .. toggle_name: experiments.add_programs
|
||||
# .. toggle_type: waffle_flag
|
||||
# .. toggle_implementation: WaffleFlag
|
||||
# .. toggle_default: False
|
||||
# .. toggle_description: Toggle for adding the current course's program information to user metadata
|
||||
# .. toggle_category: experiments
|
||||
@@ -52,7 +52,7 @@ PROGRAM_INFO_FLAG = WaffleFlag(
|
||||
)
|
||||
|
||||
# .. toggle_name: experiments.add_dashboard_info
|
||||
# .. toggle_type: waffle_flag
|
||||
# .. toggle_implementation: WaffleFlag
|
||||
# .. toggle_default: False
|
||||
# .. toggle_description: Toggle for adding info about each course to the dashboard metadata
|
||||
# .. toggle_category: experiments
|
||||
|
||||
@@ -98,7 +98,7 @@ FEATURES = {
|
||||
'ENABLE_TEXTBOOK': True,
|
||||
|
||||
# .. toggle_name: ENABLE_STUDENT_NOTES
|
||||
# .. toggle_type: waffle_flag
|
||||
# .. toggle_implementation: DjangoSetting
|
||||
# .. toggle_default: True
|
||||
# .. toggle_description: Enables the Student Notes API and UI.
|
||||
# .. toggle_category: ????
|
||||
@@ -128,7 +128,7 @@ FEATURES = {
|
||||
'ENABLE_MASQUERADE': True, # allow course staff to change to student view of courseware
|
||||
|
||||
# .. toggle_name: ENABLE_SYSADMIN_DASHBOARD
|
||||
# .. toggle_type: waffle_flag
|
||||
# .. toggle_implementation: DjangoSetting
|
||||
# .. toggle_default: False
|
||||
# .. toggle_description: enables dashboard at /syadmin/ for django staff, for seeing overview of system status, for deleting and loading courses, for seeing log of git imports of courseware.
|
||||
# .. toggle_category: admin
|
||||
@@ -193,7 +193,7 @@ FEATURES = {
|
||||
'ENABLE_VERIFIED_CERTIFICATES': False,
|
||||
|
||||
# .. toggle_name: DISABLE_HONOR_CERTIFICATES
|
||||
# .. toggle_type: waffle_flag
|
||||
# .. toggle_implementation: DjangoSetting
|
||||
# .. toggle_default: False
|
||||
# .. toggle_description: Set to True to disable honor certificates. Typically used when your installation only allows verified certificates, like courses.edx.org.
|
||||
# .. toggle_category: certificates
|
||||
|
||||
Reference in New Issue
Block a user