From c3e730a0a2a8ea39e2bc7a25784c61474108782a Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Thu, 7 Jun 2012 16:44:57 -0400 Subject: [PATCH] Add the capa module templates to the list of mako templates --- lms/envs/common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lms/envs/common.py b/lms/envs/common.py index e4c0604aa9..806c379747 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -70,7 +70,8 @@ MAKO_TEMPLATES = {} MAKO_TEMPLATES['course'] = [DATA_DIR] MAKO_TEMPLATES['sections'] = [DATA_DIR / 'sections'] MAKO_TEMPLATES['custom_tags'] = [DATA_DIR / 'custom_tags'] -MAKO_TEMPLATES['main'] = [PROJECT_ROOT / 'templates', +MAKO_TEMPLATES['main'] = [PROJECT_ROOT / 'templates', + COMMON_ROOT / 'lib' / 'capa' / 'templates', DATA_DIR / 'info', DATA_DIR / 'problems']