Skip to content

Commit

Permalink
bad patch applied, fixed now.
Browse files Browse the repository at this point in the history
  • Loading branch information
corey jergensen committed Feb 10, 2010
1 parent c418f04 commit 1f92547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangomako/shortcuts.py
Expand Up @@ -29,7 +29,7 @@ def render_to_string(template_name, dictionary, context_instance=None):
template = middleware.lookup.get_template(template_name)
return template.render(**data_dictionary)

def render_to_response(template_name, dictionary, **kwargs):
def render_to_response(template_name, dictionary, context_instance=None, **kwargs):
"""
Returns a HttpResponse whose content is filled with the result of calling
lookup.get_template(args[0]).render with the passed arguments.
Expand Down

0 comments on commit 1f92547

Please sign in to comment.