Skip to content
Myr

merged

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 · parents 0949e4d, e3ec72c · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:jinja/contrib/_djangosupport.py+2 added-2 removed
95 unmodified lines
96 mimetype=None):97 """This function will take a few variables and spit out a full webpage."""98 content = render_to_string(template, context, request)99 if mimetype is None:100 mimetype = settings.DEFUALT_CONTENT_TYPE101 return HttpResponse(content, content_type)100 mimetype = settings.DEFAULT_CONTENT_TYPE101 return HttpResponse(content, mimetype)102103104def render_to_string(template, context={}, request=None):105 """Render a template to a string."""
103 unmodified lines