Re: Raising exception when a template objects is not present or raise s exception.

2008-02-12 Thread Malcolm Tredinnick
On Tue, 2008-02-12 at 13:11 -0800, Jeff wrote: > You can't raise an exception from a template short of writing a custom > template tag that would raise an uncaught exception. It is a better > practice to put that kind of logic in your model or view. To give a bit more information to the

Re: Raising exception when a template objects is not present or raise s exception.

2008-02-12 Thread Jeff
You can't raise an exception from a template short of writing a custom template tag that would raise an uncaught exception. It is a better practice to put that kind of logic in your model or view. On Feb 12, 2:40 pm, shabda <[EMAIL PROTECTED]> wrote: > I want my template to raise exception,

Raising exception when a template objects is not present or raise s exception.

2008-02-12 Thread shabda
I want my template to raise exception, when an object is not preset or raises a exception. I am sure there is a setting for it, I just cant figure out where. Help? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups