From ce45240df4e2b424ff4852b1cc71d01a031457c9 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Tue, 30 Apr 2013 21:39:41 +0200 Subject: [PATCH] Fixed #20336 -- Removed obsolete paragraph from the docs. Thanks Baptiste Mispelon. --- docs/ref/templates/builtins.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index e0800037df1..287fd4f59e7 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -657,11 +657,6 @@ The arguments can be hard-coded strings, so the following is valid:: ... {% 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 ``==`` operator.