From 9a7306e1a3e602681606d26a198fbae3bb1c8ee1 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sun, 21 Sep 2008 16:21:24 +0200 Subject: [PATCH] Fixed a bug in djangojinja2 that caused mimetype being forwarded propertly. --HG-- branch : trunk --- ext/djangojinja2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2