Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
12e82221
Commit
12e82221
authored
Sep 06, 2013
by
Adam
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #877 from edx/hotfix/jsa/FOR-150
update mitxmako lookup / fixes FOR-150
parents
5d55714c
5c39c794
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lms/djangoapps/django_comment_client/utils.py
+2
-2
No files found.
lms/djangoapps/django_comment_client/utils.py
View file @
12e82221
...
...
@@ -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
=
mi
ddleware
.
lookup
[
'main'
]
.
get_template
(
template_name
)
.
source
template
=
mi
txmako
.
lookup
[
'main'
]
.
get_template
(
template_name
)
.
source
return
pystache
.
render
(
template
,
dictionary
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment