#11461: DebugNodeList breaks exceptions
---------------------------------------------+------------------------------
Reporter: Glenn | Owner: nobody
Status: closed | Milestone: 1.2
Component: Template system | Version: SVN
Resolution: fixed | Keywords:
Stage: Design decision needed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Comment (by kmtracey):
For now I've gone with just ensuring the traceback is on the debug page,
even when running Python 2.6+. That, at least, I feel needs to be in
1.2/1.1.2. I'm less sure of the necessity of changing the type of
exception raised away from !TemplateSyntaxError. It makes me a bit nervous
from a backwards-compatibility standpoint, since I don't know what might
be relying on it programmatically. Also, for a human looking at a deubg
page, !TemplateSyntaxError at the top is a clue that if you scroll down in
the info you should find a template error section showing the part of the
template associated with the error; if we get rid of the
!TemplateSyntaxError we remove that clue. Maybe minor but at this point
I'm just not comfortable removing the !TemplateSyntaxError wrapping
entirely.
--
Ticket URL: <http://code.djangoproject.com/ticket/11461#comment:19>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.