Re: Curious delete

2006-07-28 Thread James Bennett
On 7/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > It makes sense for anybody?, have anybody experimented something > similar? This is actually what's supposed to happen; when you delete an object that's referred to by other objects, Djangos' behavior is to emulate the standard SQL 'ON DE

Curious delete

2006-07-28 Thread [EMAIL PROTECTED]
Yesterday I was writing a part of a test application that I'm developing using Django and I get an extrange result. I have a pair of models related by foreign key fields in the way I show under: class Galery(models.Model): ... class Profesional(models.Model): ... models.ForeignKe