From ca1dfbce70e05fbed3315ba751b2eb9b453e5988 Mon Sep 17 00:00:00 2001 From: Adam Butterworth Date: Fri, 17 Jan 2020 09:00:03 -0500 Subject: [PATCH] fix: fragment include directive should include files in themes if they exist (#22880) --- common/djangoapps/pipeline_mako/templates/static_content.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/djangoapps/pipeline_mako/templates/static_content.html b/common/djangoapps/pipeline_mako/templates/static_content.html index f2b0a90a5e..d0d3f07277 100644 --- a/common/djangoapps/pipeline_mako/templates/static_content.html +++ b/common/djangoapps/pipeline_mako/templates/static_content.html @@ -92,7 +92,7 @@ dirs = settings.DEFAULT_TEMPLATE_ENGINE['DIRS'] theme = get_current_theme() if theme: dirs = list(dirs) - dirs.insert(0, theme.path / 'templates') + dirs.append(theme.path / 'templates') engine = Engine(dirs=dirs) loader = Loader(engine)