Hi, Say I have model that comprises of Books and Authors. Where a book may have multiple authors and this has foreignkey in the books table.
Now how do I prevent deletion of an author record while the there is record in books table that has pointer an author record (via foreign key). Do i need to do this via stored procedure/trigger on DB level or is there standard procedure to implement this in delete in django? Would appreciate any pointers. Regards, -Subodh -- 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.