Another typo.
authorGeorg Brandl <georg@python.org>
Sun, 11 May 2008 10:56:50 +0000 (12:56 +0200)
committerGeorg Brandl <georg@python.org>
Sun, 11 May 2008 10:56:50 +0000 (12:56 +0200)
--HG--
branch : trunk

docs/switching.rst

index 0ca2990c9b3fc5625f024259d99cdb6ca50fee05..3de07d110eda58389d1ba4248e369d8f318da4c8 100644 (file)
@@ -124,11 +124,11 @@ Conditions
 
 In Django you can use the following constructs to check for equality::
 
-    {% ifequals foo "bar" %}
+    {% ifequal foo "bar" %}
         ...
     {% else %}
         ...
-    {% endifequals %}
+    {% endifequal %}
 
 In Jinja2 you can use the normal if statement in combination with operators::