#18155: Undocumented changes, indecision, in template fail silently exception
handling
-------------------------------------+-------------------------------------
     Reporter:  Aryeh Leib Taurog    |                    Owner:  nobody
  <vim@…>                            |                   Status:  new
         Type:  Bug                  |                  Version:  1.4
    Component:  Template system      |               Resolution:
     Severity:  Normal               |             Triage Stage:  Design
     Keywords:  template fail        |  decision needed
  silently                           |      Needs documentation:  0
    Has patch:  0                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by carljm):

 * component:  Uncategorized => Template system
 * stage:  Unreviewed => Design decision needed


Comment:

 I'm not sure about the cause of the observed change from 1.2 to 1.3, and I
 can't find anything about it in the release notes or docs.

 The change from 1.3 to 1.4 is, however,
 [https://docs.djangoproject.com/en/dev/releases/1.4/#no-wrapping-of-
 exceptions-in-template-debug-mode documented in the release notes]. It did
 not change the situations in which an exception will be raised, it just
 changed which exception is raised when `TEMPLATE_DEBUG = True`; I don't
 think there's any good justification for the previous exception-wrapping.

 Personally, I'm +0 on reinstating thorough fail-silently with
 `TEMPLATE_DEBUG = False`, but I can't claim to have kept up with all
 discussions on the topic over the past few years.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18155#comment:2>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to