From f9013d55466e068e42e435828a9a0a2c5f581663 Mon Sep 17 00:00:00 2001 From: Ralph KEMPS Date: Wed, 6 Nov 2013 10:39:15 +0100 Subject: [PATCH] fix typo 'in' operator Fixed a small typo in the negative 'in' test operator --- doc/templates.rst | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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')) %} -- 1.7.2.5