On Thu, Sep 24, 2009 at 10:40 AM, JF Simon <ad...@jfsimon.fr> wrote: > > Ouh thanks ... because of the TEMPLATE_DEBUG setting, I though > exceptions within templates were raised ... my sentence seems weird. > Ill try that tonight. > Thanks again. > > No, TEMPLATE_DEBUG just adds some information (snippet of the template in question) to the template exceptions that are raised. It does not cause exceptions that are ordinarily suppressed to be raised....they are still suppressed.
The silencing of errors like this is due to a long-standing design decision. Now and then it's been discussed that maybe the behavior should be changed, but it is difficult to do at this point since it would be massively backwards-incompatible (templates that currently render without errors could suddenly start causing Internal Server Error responses). For some discussion, see: http://groups.google.com/group/django-developers/browse_thread/thread/f323338045ac2e5e# http://groups.google.com/group/django-developers/browse_thread/thread/ff93aabeb097c014# Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---