Skip to content
Snippets Groups Projects
Commit 5c39c794 authored by jsa's avatar jsa
Browse files

update mitxmako lookup / fixes FOR-150

parent 5d55714c
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment