#26118: Add "is" comparison to the if template tag
---------------------------------+--------------------
Reporter: prestontimmons | Owner: nobody
Type: New feature | Status: new
Component: Template system | Version: 1.9
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------
It would be nice if the if template tag supported "is" comparisons against
values like None, True, and False. This feature is particularly helpful in
fixing #15667 when rendering boolean attributes on elements, where the
presence of a boolean attribute on an element represents the true value,
and the absence of the attribute represents the false value.
--
Ticket URL: <https://code.djangoproject.com/ticket/26118>
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/057.d6fba037668758992b6f12687bf8763a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.