From 5c39c794c8d29af294426eeea276511829d9e830 Mon Sep 17 00:00:00 2001 From: jsa Date: Thu, 5 Sep 2013 23:23:52 -0400 Subject: [PATCH] update mitxmako lookup / fixes FOR-150 --- lms/djangoapps/django_comment_client/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/djangoapps/django_comment_client/utils.py b/lms/djangoapps/django_comment_client/utils.py index 9309f919d3..d069daf57c 100644 --- a/lms/djangoapps/django_comment_client/utils.py +++ b/lms/djangoapps/django_comment_client/utils.py @@ -12,7 +12,7 @@ from django.utils import simplejson from django_comment_common.models import Role from django_comment_client.permissions import check_permissions_by_view -from mitxmako import middleware +import mitxmako import pystache_custom as pystache from xmodule.modulestore.django import modulestore @@ -335,7 +335,7 @@ def url_for_tags(course_id, tags): def render_mustache(template_name, dictionary, *args, **kwargs): - template = middleware.lookup['main'].get_template(template_name).source + template = mitxmako.lookup['main'].get_template(template_name).source return pystache.render(template, dictionary)