Commit 12e82221 by Adam

Merge pull request #877 from edx/hotfix/jsa/FOR-150

update mitxmako lookup / fixes FOR-150
parents 5d55714c 5c39c794
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment