projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac61b24
)
Another typo.
author
Georg Brandl
<georg@python.org>
Sun, 11 May 2008 10:56:50 +0000
(12:56 +0200)
committer
Georg Brandl
<georg@python.org>
Sun, 11 May 2008 10:56:50 +0000
(12:56 +0200)
--HG--
branch : trunk
docs/switching.rst
patch
|
blob
|
history
diff --git
a/docs/switching.rst
b/docs/switching.rst
index 0ca2990c9b3fc5625f024259d99cdb6ca50fee05..3de07d110eda58389d1ba4248e369d8f318da4c8 100644
(file)
--- a/
docs/switching.rst
+++ b/
docs/switching.rst
@@
-124,11
+124,11
@@
Conditions
In Django you can use the following constructs to check for equality::
- {% ifequal
s
foo "bar" %}
+ {% ifequal foo "bar" %}
...
{% else %}
...
- {% endifequal
s
%}
+ {% endifequal %}
In Jinja2 you can use the normal if statement in combination with operators::