Re: global names undefined in _pre_save() and _post_save()

2005-10-18 Thread Ian Holsman
Hi Qiangning it has something to do with how django creates it's model classes. if you look closer at the excpetion, you might be able to add the import statements into the framework class itself. personally I like boring.. boring doesn't call you in the middle of the night ;-) regards Ian On

When to cache

2005-10-18 Thread Andreas Stuhlmüller
At http://code.djangoproject.com/ticket/603 Jacob wrote: "Yes, actually -- turns out that the cost of a cache miss is *more* than the cost of compiling a template (we profiled this about a year ago, so it may have changed in the meantime). So it turns out it's easier to just parse the template wh