On May 14, 3:02 pm, George Vilches <[EMAIL PROTECTED]> wrote: > On May 14, 2008, at 9:58 AM, Simon Willison wrote: > > Silent errors are bad. If we were to remove them, how much of a > > negative impact would it have on the existing user base? > > I suspect that a lot of people actually rely on this behavior, and it > would be devastating to them.
Thinking about it some more you're right - I'm sure there are lots of cases where people are relying on things like the following: {{ article.something.title }} - outputs text if article is there, fails silently otherwise Which leaves us in a tricky situation. A global settings.py variable for "throw errors on missing template variables" is a bad idea as it kills application portability (the PHP magic_quotes problem again - if your application expects that setting off and mine expects it on I can't import your app in to my environment). There might be something we can do with warnings, but it could still end up pretty messy. Needs more thought. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---