|
|
@@ -200,12 +200,12 @@ class Product(models.Model):
|
|
|
|
|
|
@receiver(post_delete, sender=Product)
|
|
|
def auto_delete_reverse_keys(sender, instance, **kwargs):
|
|
|
- if instance.credits:
|
|
|
- instance.credits.delete()
|
|
|
- if instance.description:
|
|
|
- instance.description.delete()
|
|
|
- if instance.interaction:
|
|
|
- instance.interaction.delete()
|
|
|
+ # if instance.credits:
|
|
|
+ # instance.credits.delete()
|
|
|
+ # if instance.description:
|
|
|
+ # instance.description.delete()
|
|
|
+ # if instance.interaction:
|
|
|
+ # instance.interaction.delete()
|
|
|
|
|
|
|
|
|
|