diff --git a/eoaforthcoming/models.py b/eoaforthcoming/models.py index ceca025..3b9537d 100644 --- a/eoaforthcoming/models.py +++ b/eoaforthcoming/models.py @@ -39,7 +39,7 @@ def __str__(self): class EOAForthcomingModel(CMSPlugin): eoaforthcoming = models.ForeignKey( - Forthcoming, on_delete=models.PROTECT + Forthcoming, on_delete=models.CASCADE ) # functions: