diff --git a/cms/envs/common.py b/cms/envs/common.py index 78f687beff77..d67f64bbef19 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -372,6 +372,9 @@ 'django.template.context_processors.csrf', 'help_tokens.context_processor', 'openedx.core.djangoapps.site_configuration.context_processors.configuration_context', + + # edly context processor to apply dynamic theming + 'edly_panel_app.context_processor.dynamic_theming_context' ) # Django templating diff --git a/lms/envs/common.py b/lms/envs/common.py index 7f8ffbc7b3ae..c7eb4d88bbe3 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -603,7 +603,10 @@ def _make_mako_template_dirs(settings): 'openedx.core.djangoapps.site_configuration.context_processors.configuration_context', # Mobile App processor (Detects if request is from the mobile app) - 'mobile_api.context_processor.is_from_mobile_app' + 'mobile_api.context_processor.is_from_mobile_app', + + # edly context processor to apply dynamic theming + 'edly_panel_app.context_processor.dynamic_theming_context' ] # Django templating