Re: Exceptions inside model functions

2006-02-28 Thread Nebojša Đorđević
nesh wrote: > This bugs me a while. Grrr, this is a second time today that I hit this annoyance (inside m-r branch), I posted a ticket now for this http://code.djangoproject.com/ticket/1421. -- Nebojša Đorđević - nesh Studio Quattro - Niš - SCG http://studioquattro.biz/ http://djnesh.blogspot

Re: Exceptions inside model functions

2006-02-28 Thread Adrian Holovaty
On 2/28/06, nesh <[EMAIL PROTECTED]> wrote: > When exception is thrown inside model function not traceback or any > indication is given (with DEBUG=True), for example > (m-r): > > class Foo(models.Model) > def bar(self): > raise SomeException() > > will return nothing (None) with *no

Exceptions inside model functions

2006-02-28 Thread nesh
This bugs me a while. When exception is thrown inside model function not traceback or any indication is given (with DEBUG=True), for example (m-r): class Foo(models.Model) def bar(self): raise SomeException() will return nothing (None) with *no indication* that error is occurred! W