Answer is yes just test if (not) None or likewise just that doing with no none and no null tests getting it farther than obvious.
On 11 Juli, 00:36, "Webb S." <[email protected]> wrote: > Is there a way (in Linux) to make the rendering of Django templates > error out when a object property is undefined? > > So that <p>blah {{ bldg.name }} </p> throws a big fat stack trace, > rather than rendering to <p> blah </p> > > This is mostly a problem for me with generated javascript code which > is building a map. I am sure there is a better way for that, but I > haven't found it yet, and I would prefer to render templates strictly > anyway. > > Tx! -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en.
