Skip to content
Myr

Another typo.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Georg Brandl · committed by Georg Brandl · parent ac61b24 · 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/switching.rst+2 added-2 removed
122 unmodified lines
123~~~~~~~~~~124125In Django you can use the following constructs to check for equality::126127 {% ifequals foo "bar" %}127 {% ifequal foo "bar" %}128 ...129 {% else %}130 ...131 {% endifequals %}131 {% endifequal %}132133In Jinja2 you can use the normal if statement in combination with operators::134135 {% if foo == 'bar' %}
82 unmodified lines