From: "Marty Alchin" <gulop...@gamemusic.org>
Date: Wed, 14 May 2008 10:22:39 -0400
Local: Wed, May 14 2008 10:22 am
Subject: Re: Rethinking silent failures in templates
On Wed, May 14, 2008 at 10:07 AM, Simon Willison
<si...@simonwillison.net> wrote: I'm not expert on the history of this or anything, but I always >> 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 > {{ article.something.title }} - outputs text if article is there, thought this example was the basis for silent errors. That makes me wonder, then, if there's some other kind of separation we can have. Perhaps variable lookups continue to fail silently, regardless of environment, while actual {% ... %} tags raise errors by default. Of course, there's still something to be said for using DEBUG to show And at the risk of supplying too many possibilities for one email, the I'm probably way off-base on these ideas, though, because it would -Gul You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||