14 lines
470 B
Python
14 lines
470 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')
|