Skip to content
Myr

Fixed a bug in djangojinja2 that caused mimetype being forwarded propertly.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent c347ed0 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:ext/djangojinja2.py+1 added-1 removed
80 unmodified lines
81def render_to_response(template_name, context=None, request=None,82 processors=None, mimetype=None):83 """Render a template into a response object."""84 return HttpResponse(render_to_string(template_name, context, request,85 processors), mimetype=None)85 processors), mimetype=mimetype)