On 10/22/07, Thomas Guettler <[EMAIL PROTECTED]> wrote: > > BTW, why does django collect all sub objects? The SQL part "ON DELETE > CASCADE" should > remove them.
Not all the database backends will do the cascading delete. MySQL, for instance, only supports it for certain kinds of tables. So Django does the work upfront so that delete behaves the same regardless of the limitations of the backend in use. Karen --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---