Skip to content

Commit

Permalink
should really test before commiting.
Browse files Browse the repository at this point in the history
  • Loading branch information
corey jergensen committed Feb 10, 2010
1 parent 1f92547 commit 83f5289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangomako/shortcuts.py
Expand Up @@ -27,7 +27,7 @@ def render_to_string(template_name, dictionary, context_instance=None):
context_dictionary.update(d)
# fetch and render template
template = middleware.lookup.get_template(template_name)
return template.render(**data_dictionary)
return template.render(**dictionary)

def render_to_response(template_name, dictionary, context_instance=None, **kwargs):
"""
Expand Down

0 comments on commit 83f5289

Please sign in to comment.