From: Armin Ronacher Date: Sun, 21 Sep 2008 14:21:24 +0000 (+0200) Subject: Fixed a bug in djangojinja2 that caused mimetype being forwarded propertly. X-Git-Tag: 2.1~19 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9a7306e1a3e602681606d26a198fbae3bb1c8ee1;p=jinja2.git Fixed a bug in djangojinja2 that caused mimetype being forwarded propertly. --HG-- branch : trunk --- diff --git a/ext/djangojinja2.py b/ext/djangojinja2.py index 17f06ee..492c252 100644 --- a/ext/djangojinja2.py +++ b/ext/djangojinja2.py @@ -82,4 +82,4 @@ def render_to_response(template_name, context=None, request=None, processors=None, mimetype=None): """Render a template into a response object.""" return HttpResponse(render_to_string(template_name, context, request, - processors), mimetype=None) + processors), mimetype=mimetype)