From: Ralph KEMPS Date: Wed, 6 Nov 2013 09:39:15 +0000 (+0100) Subject: fix typo 'in' operator X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=f9013d55466e068e42e435828a9a0a2c5f581663;p=web%2Fkonrad%2Ftwig.git fix typo 'in' operator Fixed a small typo in the negative 'in' test operator --- diff --git a/doc/templates.rst b/doc/templates.rst index 2905023..a6a56d0 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -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')) %}