On Wednesday 08 February 2006 22:00, Jonathan Ellis wrote: > On 2/8/06, Siah <[EMAIL PROTECTED]> wrote: > > I have a model similar to: > > > > class Phone(meta.Model): > > number = meta.CharField(maxlength=50, null=True) > > > > class Contact(meta.Model): > > phone = meta.ForeignKey(Phone, null=True) > > name = meta.CharField(maxlength=200) > > > > After I have data in, I want to be able to delete a contact's phone. As > > soon as I remove phone, it will automatically delete my contact object > > too.
This is a Django 'feature'. Search the message archives for others' experiences and posted solutions, for example: <http://groups.google.com/group/django-users/msg/c5fc1a2d456a8a14>

