16 lines
417 B
Python
16 lines
417 B
Python
"""
|
|
Configuration for features of Branding
|
|
"""
|
|
from django.conf import settings
|
|
|
|
from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers
|
|
|
|
|
|
def use_catalog_mfe():
|
|
"""
|
|
Returns a boolean = true if the Catalog MFE is enabled.
|
|
"""
|
|
return configuration_helpers.get_value(
|
|
'ENABLE_CATALOG_MICROFRONTEND', getattr(settings, 'ENABLE_CATALOG_MICROFRONTEND', False)
|
|
)
|