summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2010-03-08 23:25:37 +0000
committerLuke Plant <L.Plant.98@cantab.net>2010-03-08 23:25:37 +0000
commit960af90279081e7a4121736f3f2bc67077f11b31 (patch)
treeb886c53a203dacdd717a30da98e2ca2dc5f04ef4 /docs/ref
parent021ba30ad1d4fffada4f2d43d47a4704bcfca45e (diff)
Fixed #13058 - "smart if" template tag doesn't support "if not in ..." condition
Thanks to ramusus for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/templates/builtins.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
index 8bc4f8e4f6..c613c58107 100644
--- a/docs/ref/templates/builtins.txt
+++ b/docs/ref/templates/builtins.txt
@@ -440,6 +440,11 @@ how ``x in y`` will be interpreted::
instance that belongs to the QuerySet.
{% endif %}
+``not in`` operator
+~~~~~~~~~~~~~~~~~~~~
+
+Not contained within. This is the negation of the ``in`` operator.
+
The comparison operators cannot be 'chained' like in Python or in mathematical
notation. For example, instead of using::