code: def delete_parent(sender, instance, **kwargs):
      
      ItemRelation.objects.filter(child_id=instance.item_id).delete()
docs: When the given task instance is deleted, delete also the corresponding item
      relations.