#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):
Replying to [comment:13 collinanderson]:
> Why silence ValueError and TypeError? Is that for filters?
My thought process on this was basically limited to matching the existing
list of Exceptions listed out here:
https://github.com/django/django/blob/1.8.4/django/template/base.py#L833-L836
so the behavior would match that for template variable resolution.
--
Ticket URL: <https://code.djangoproject.com/ticket/17664#comment:14>
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.b360e86dbba66693a86afbed88f04c1c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.