#26479: Add "is not" comparison to the if template tag
---------------------------------+--------------------
Reporter: alasdairnicol | Owner: nobody
Type: New feature | Status: new
Component: Template system | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------
#26118 added the is comparison to the if template tag. We should add the
is not comparison as well.
From a quick test, it seems that `{% x is not None %}` is currently
evaluated as `x is (not None)`, instead of `x is not None`.
Discussion on django-developers mailing list:
https://groups.google.com/d/msg/django-developers/jYdYCAtHHdw/WJYNXqAzEwAJ
--
Ticket URL: <https://code.djangoproject.com/ticket/26479>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/056.b9978c418f2533515508ffd1bf59afc1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.