#17664: Smart `if` tag silences exceptions
-------------------------------------+-------------------------------------
Reporter: mrmachine | Owner: nobody
Type: Bug | Status: new
Component: Template system | Version: master
Severity: Normal | Resolution:
Keywords: smart if tag | Triage Stage: Accepted
queryset exception silenced |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by joshmaker):
As a user, my expectation would be that the behavior of:
`{% if not foo.bar|filter_that_raises_AttributeError %}`
would be identical to:
`{{ foo.bar|filter_that_raises_AttributeError }}`
with regards to the exceptions raised. Right?
--
Ticket URL: <https://code.djangoproject.com/ticket/17664#comment:16>
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/067.437252b89abfc2e48c76d1d218335dde%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.