summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activities/models/post.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/activities/models/post.py b/activities/models/post.py
index 25afdda..c3de16f 100644
--- a/activities/models/post.py
+++ b/activities/models/post.py
@@ -70,7 +70,7 @@ class Post(StatorModel):
# The author (attributedTo) of the post
author = models.ForeignKey(
"users.Identity",
- on_delete=models.PROTECT,
+ on_delete=models.CASCADE,
related_name="posts",
)