On Jan 3, 2018 4:29 AM, "Jani Tiainen" <[email protected]> wrote:

Hi,

As I posted on other thread you can do that using meta api.

But why you want to do that manually. DELETE_CASCADE does the same thing
exactly.



While I don't know the motivations of the OP, one reason you may want to do
this is for auditing purposes. There may be a requirement to track
additions and removals of records. I don't think a cascade delete would
capture enough information in such a case, even with a high level of
transaction logging.

-James

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2Be%2BciUtvGbtJt-kpDgv-muDnv7wgnDna9dhONfN%2BpJH8T-FmQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to