refactor!: update CourseWaffleFlag (#30351)

BREAKING: get rid of the LegacyWaffle-based CourseWaffleFlag.
Both CourseWaffleFlag and FutureCourseWaffleFlag now use the modern
WaffleFlag as parent class. FutureCourseWaffleFlag left to support ORA
transition to modern waffle.

Switch to the ORA version which supporting new Waffles.
This commit is contained in:
Eugene Dyudyunov
2022-05-10 22:08:59 +03:00
committed by GitHub
parent 695d23489e
commit 655e4a344f
22 changed files with 143 additions and 157 deletions

View File

@@ -1,7 +1,7 @@
"""
Togglable settings for Course Grading behavior
"""
from openedx.core.djangoapps.waffle_utils.__future__ import FutureCourseWaffleFlag as CourseWaffleFlag
from openedx.core.djangoapps.waffle_utils import CourseWaffleFlag
WAFFLE_NAMESPACE = 'grades'