Skip to content
Myr

[svn] fixed indention in documentation example

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 · parent 2f43ba4 · 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:docs/src/devrecipies.txt+2 added-2 removed
96 unmodified lines
9798 def render_to_response(template, context, request=None):99 template = env.get_template(template)100 if request:101 for processor in get_standard_processors():102 context.update(processor(request))101 for processor in get_standard_processors():102 context.update(processor(request))103 return HttpResponse(template.render(context))104105106If you want to plug Jinja into the Django i18n system you can use this
20 unmodified lines