From: Christopher Grebs Date: Fri, 28 Sep 2007 14:51:40 +0000 (+0200) Subject: fixed little typos in _djangosupport.py X-Git-Tag: 2.0rc1~263^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e3ec72c4b237085efc1795f0c64a7e80b9a490c7;p=jinja2.git fixed little typos in _djangosupport.py --HG-- branch : trunk --- 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):