From 5c6580b122c6a6f3e4f71eda8e78a26e992bfbc1 Mon Sep 17 00:00:00 2001 From: Justin Hynes Date: Wed, 5 Feb 2025 17:22:34 +0000 Subject: [PATCH] docs: update theming config example Updates theming config example in our docs after recent changes to edx-platform (see https://github.com/openedx/edx-platform/pull/36192). --- docs/devstack_faq.rst | 2 +- py_configuration_files/lms.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/devstack_faq.rst b/docs/devstack_faq.rst index 660aa09a..cbe3dda9 100644 --- a/docs/devstack_faq.rst +++ b/docs/devstack_faq.rst @@ -127,7 +127,7 @@ Make sure that you enable the following code in ./edx-platform/lms/envs/devstack "/edx/app/edxapp/edx-platform/themes/", "/edx/app/edx-themes/edx-platform/", ] - TEMPLATES[1]["DIRS"] = _make_mako_template_dirs + TEMPLATES[1]["DIRS"] = Derived(_make_mako_template_dirs) derive_settings(__name__) Enabling a theme diff --git a/py_configuration_files/lms.py b/py_configuration_files/lms.py index 01100e92..4a5a368c 100644 --- a/py_configuration_files/lms.py +++ b/py_configuration_files/lms.py @@ -480,7 +480,7 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing # COMPREHENSIVE_THEME_DIRS = [ # "/edx/app/edxapp/edx-platform/themes/" # ] -# TEMPLATES[1]["DIRS"] = _make_mako_template_dirs +# TEMPLATES[1]["DIRS"] = Derived(_make_mako_template_dirs) # derive_settings(__name__) # Uncomment the lines below if you'd like to see SQL statements in your devstack LMS log.