From 83f52899f867d3a5669594084c17fb9f3f210e4c Mon Sep 17 00:00:00 2001 From: corey jergensen Date: Tue, 9 Feb 2010 21:04:17 -0600 Subject: [PATCH] should really test before commiting. --- djangomako/shortcuts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djangomako/shortcuts.py b/djangomako/shortcuts.py index ebde7d6..f15391f 100644 --- a/djangomako/shortcuts.py +++ b/djangomako/shortcuts.py @@ -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): """