fix typo 'in' operator

Fixed a small typo in the negative 'in' test operator
This commit is contained in:
Ralph KEMPS
2013-11-06 10:39:15 +01:00
parent 3a6ffbb0f0
commit f9013d5546
+1 -1
View File
@@ -745,7 +745,7 @@ Tests can be negated by using the ``is not`` operator:
.. code-block:: jinja
{% if post.status is constant('Post::PUBLISHED') %}
{% if post.status is not constant('Post::PUBLISHED') %}
{# is equivalent to #}
{% if not (post.status is constant('Post::PUBLISHED')) %}