On 7/5/06, James Bennett <[EMAIL PROTECTED]> wrote: > This feels more like a problem to be solved at the database level; the > ideal solution would be to set 'ON DELETE SET NULL' for the > foreign-key column (assuming -- and I don't know if this is the case > -- that Django is doing 'ON DELETE CASCADE'). Just make sure that > column will accept NULL as a value.
But that's moot because apparently Django doesn't output that in the SQL. http://code.djangoproject.com/ticket/2288 <-- for those who want to follow its progress. -- "May the forces of evil become confused on the way to your house." -- George Carlin --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---