Question is, why do that when on_delete=models.CASACADE is there to do it for you?
On Wednesday, January 3, 2018 at 3:03:36 PM UTC+3, [email protected] wrote: > > How to delete all the objects which are referring the current object > without DELETE_CASCADE > -- 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/5dfd9439-c908-4360-b8c3-df4d288f45a2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

