Wouldn't it depend on the type of DB? (mysql, postgresql,etc)? Or is this something enforced in django regardless of db?
On Jul 3, 1:28 pm, Randy Barlow <[EMAIL PROTECTED]> wrote: > Jad wrote: > > Lets say we have Accounts that is referenced profile, group, interest > > tables. > > > If I delete the account ID 1 would the related data to that account in > > profile, group and interest table be deleted in all cases of relation? > > One to one, one to many, many to many? same question applies to > > update > > My understanding is that deletion is a cascading operation, following > all relations in the database. So use it very carefully! > > -- > Randy Barlow > Software Developer > The American Research Institutehttp://americanri.com > 919.228.4971 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---