On Wed, Apr 29, 2009 at 3:59 AM, Daniel Roseman
<roseman.dan...@googlemail.com> wrote:
> You could try defining the foreign key with null=True.
>    a = models.ForeignKey(A, null=True)

Not really, since there's no support whatsoever for ON DELETE triggers
in the ORM.


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to