projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f43ba4
)
[svn] fixed indention in documentation example
author
Armin Ronacher
<armin.ronacher@active-4.com>
Sat, 2 Jun 2007 22:11:43 +0000
(
00:11
+0200)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Sat, 2 Jun 2007 22:11:43 +0000
(
00:11
+0200)
--HG--
branch : trunk
docs/src/devrecipies.txt
patch
|
blob
|
history
diff --git
a/docs/src/devrecipies.txt
b/docs/src/devrecipies.txt
index eb97aeb57025350a75e1fd4cbc59cc49bf021131..2f97f7d9cb7f35f64b127b28342865e66df6b69d 100644
(file)
--- a/
docs/src/devrecipies.txt
+++ b/
docs/src/devrecipies.txt
@@
-98,8
+98,8
@@
rendering. It applies the context processors on the context and consumes a
def render_to_response(template, context, request=None):
template = env.get_template(template)
if request:
- for processor in get_standard_processors():
- context.update(processor(request))
+
for processor in get_standard_processors():
+
context.update(processor(request))
return HttpResponse(template.render(context))