From e3ec72c4b237085efc1795f0c64a7e80b9a490c7 Mon Sep 17 00:00:00 2001 From: Christopher Grebs Date: Fri, 28 Sep 2007 16:51:40 +0200 Subject: [PATCH] fixed little typos in _djangosupport.py --HG-- branch : trunk --- jinja/contrib/_djangosupport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jinja/contrib/_djangosupport.py b/jinja/contrib/_djangosupport.py index ff38110..2fead14 100644 --- a/jinja/contrib/_djangosupport.py +++ b/jinja/contrib/_djangosupport.py @@ -97,8 +97,8 @@ def render_to_response(template, context={}, request=None, """This function will take a few variables and spit out a full webpage.""" content = render_to_string(template, context, request) if mimetype is None: - mimetype = settings.DEFUALT_CONTENT_TYPE - return HttpResponse(content, content_type) + mimetype = settings.DEFAULT_CONTENT_TYPE + return HttpResponse(content, mimetype) def render_to_string(template, context={}, request=None): -- 2.26.2