On May 11, 5:09 pm, Bram - Smartelectronix <[EMAIL PROTECTED]>
wrote:
> I completely agree - for a live site, but not for development!
>
> But this could be easily solved by:
> THROW_EXCEPTION_WHEN_TEMPLATE_STRING_INVALID
> default to False
You can always do:
class ExceptionRaiser:
def __str__(self): raise Exception "Unknown template variable"
def __unicode__(self): raise Exception "Unknown template variable"
TEMPLATE_STRING_IF_INVALID = exception_raiser
in your settings.py.
--
Amit Upadhyay
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---