On Thu, Sep 2, 2010 at 7:40 PM, George Karpenkov
<true.chesh...@gmail.com> wrote:
> Dear Russ,
>
> I still don't quite get why "runtime template errors are
> unacceptable". My understanding is that if user has DEBUG=True, and
> TEMPLATE_DEBUG=True, then clearly (at least to me) the user does want
> to see all of the errors. DEBUG flags should be off in the production
> environment, right?

It's not quite as simple as that, for reasons that should be clear if
you read the rest of my responses on this thread.

> Alternatively, the simplest solution that comes to my mind is to have
> a third flag CAN_I_REALLY_HAVE_TEMPLATE_DEBUG_PLZ_K_THX (I am not good
> at making up naming conventions) and if that one is set to True then
> do not silence _any_ errors at all during template rendering.

1. Added settings to control behavior like this is a very bad idea,
and not one that I'm going to add to core.
2. This wouldn't work anyway; again, read the rest of my comments on
this thread.

Yours
Russ Magee %-)

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to