Setting defaults for waffle flags to true. default=true for use_bootstrap in discussions app default=true for show_achievements in learner profile app LEARNER-5509
17 lines
639 B
Python
17 lines
639 B
Python
"""
|
|
Learner profile settings and helper methods.
|
|
"""
|
|
|
|
from openedx.core.djangoapps.waffle_utils import WaffleFlag, WaffleFlagNamespace
|
|
|
|
|
|
# Namespace for learner profile waffle flags.
|
|
WAFFLE_FLAG_NAMESPACE = WaffleFlagNamespace(name='learner_profile')
|
|
|
|
# Waffle flag for showing a message about the new profile features.
|
|
# TODO: LEARNER-2554: 09/2017: Remove flag once message is no longer needed.
|
|
SHOW_PROFILE_MESSAGE = WaffleFlag(WAFFLE_FLAG_NAMESPACE, 'show_message')
|
|
|
|
# Waffle flag to show achievements on the learner profile.
|
|
SHOW_ACHIEVEMENTS_FLAG = WaffleFlag(WAFFLE_FLAG_NAMESPACE, 'show_achievements', flag_undefined_default=True)
|