1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #26479 -- Added 'is not' operator to the if tag.

This commit is contained in:
Alasdair Nicol
2016-04-09 16:25:00 +01:00
committed by Tim Graham
parent c10db4bd1b
commit c16b9dd8e0
4 changed files with 33 additions and 4 deletions

View File

@@ -409,7 +409,7 @@ Templates
:class:`~django.template.backends.django.DjangoTemplates` backend and the
:class:`~django.template.Engine` class.
* Added the ``is`` comparison operator to the :ttag:`if` tag.
* Added the ``is`` and ``is not`` comparison operators to the :ttag:`if` tag.
* Allowed :tfilter:`dictsort` to order a list of lists by an element at a
specified index.