minor #1260 fix typo 'in' operator (thewholelifetolearn)

This PR was merged into the master branch.

Discussion
----------

fix typo 'in' operator

Fixed a small typo in the negative 'in' test operator

Commits
-------

f9013d5 fix typo 'in' operator
This commit is contained in:
Fabien Potencier
2013-11-06 11:15:23 +01:00
+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')) %}