-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move flag to a different shared module
- Loading branch information
1 parent
d13e6d7
commit 829315e
Showing
5 changed files
with
18 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
"""Flags for the course_groups app.""" | ||
from openedx.core.djangoapps.waffle_utils import CourseWaffleFlag | ||
|
||
COURSE_GROUPS_NAMESPACE = "course_groups" | ||
|
||
# .. toggle_name: course_groups.content_groups_for_teams | ||
# .. toggle_implementation: CourseWaffleFlag | ||
# .. toggle_default: False | ||
# .. toggle_description: This flag enables the use of content groups for teams. | ||
# .. toggle_use_cases: open_edx | ||
# .. toggle_creation_date: 2023-11-23 | ||
CONTENT_GROUPS_FOR_TEAMS = CourseWaffleFlag( | ||
f"{COURSE_GROUPS_NAMESPACE}.content_groups_for_teams", __name__ | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters