@@ -483,19 +483,20 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing
483483# If you want to enable theming in devstack, uncomment this section and add any relevant
484484# theme directories to COMPREHENSIVE_THEME_DIRS
485485
486- # We have to import the private method here because production.py calls
487- # derive_settings('lms.envs.production') which runs _make_mako_template_dirs with
486+ # We have to import the function here because production.py calls
487+ # derive_settings('lms.envs.production') which runs make_mako_template_dirs with
488488# the settings from production, which doesn't include these theming settings. Thus,
489489# the templating engine is unable to find the themed templates because they don't exist
490490# in it's path. Re-calling derive_settings doesn't work because the settings was already
491491# changed from a function to a list, and it can't be derived again.
492492
493- # from .common import _make_mako_template_dirs
493+ # from .common import make_mako_template_dirs
494494# ENABLE_COMPREHENSIVE_THEMING = True
495495# COMPREHENSIVE_THEME_DIRS = [
496+ # "/edx/src/edx-themes/edx-platform",
496497# "/edx/app/edxapp/edx-platform/themes/"
497498# ]
498- # TEMPLATES[1]["DIRS"] = Derived(_make_mako_template_dirs )
499+ # TEMPLATES[1]["DIRS"] = Derived(make_mako_template_dirs )
499500# derive_settings(__name__)
500501
501502# Uncomment the lines below if you'd like to see SQL statements in your devstack LMS log.
0 commit comments