mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Fixed #20336 -- Removed obsolete paragraph from the docs.
Thanks Baptiste Mispelon.
This commit is contained in:
parent
8f08f0afbb
commit
ce45240df4
@ -657,11 +657,6 @@ The arguments can be hard-coded strings, so the following is valid::
|
|||||||
...
|
...
|
||||||
{% endifequal %}
|
{% endifequal %}
|
||||||
|
|
||||||
It is only possible to compare an argument to template variables or strings.
|
|
||||||
You cannot check for equality with Python objects such as ``True`` or
|
|
||||||
``False``. If you need to test if something is true or false, use the
|
|
||||||
:ttag:`if` tag instead.
|
|
||||||
|
|
||||||
An alternative to the ``ifequal`` tag is to use the :ttag:`if` tag and the
|
An alternative to the ``ifequal`` tag is to use the :ttag:`if` tag and the
|
||||||
``==`` operator.
|
``==`` operator.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user