summaryrefslogtreecommitdiffstats
path: root/activities
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-25 18:32:45 -0700
committerAndrew Godwin2022-11-25 18:32:45 -0700
commit1cf1f2e5430e1946b6f7520e4d339de82a392c21 (patch)
tree7b98e05795153868fe3a6d53e0633b7b4d8d5684 /activities
parent5fe5f0495518e43aa4ab9f6831c4bc27a0be9458 (diff)
downloadtakahe-1cf1f2e5430e1946b6f7520e4d339de82a392c21.tar.gz
takahe-1cf1f2e5430e1946b6f7520e4d339de82a392c21.tar.bz2
takahe-1cf1f2e5430e1946b6f7520e4d339de82a392c21.zip
Implement user discoverability
Diffstat (limited to 'activities')
-rw-r--r--activities/migrations/0001_initial.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/activities/migrations/0001_initial.py b/activities/migrations/0001_initial.py
index 19f3026..82a9085 100644
--- a/activities/migrations/0001_initial.py
+++ b/activities/migrations/0001_initial.py
@@ -83,7 +83,7 @@ class Migration(migrations.Migration):
(
"author",
models.ForeignKey(
- on_delete=django.db.models.deletion.PROTECT,
+ on_delete=django.db.models.deletion.CASCADE,
related_name="posts",
to="users.identity",
),
@@ -257,6 +257,8 @@ class Migration(migrations.Migration):
models.CharField(
choices=[
("post", "Post"),
+ ("post_edited", "Post Edited"),
+ ("post_deleted", "Post Deleted"),
("interaction", "Interaction"),
("undo_interaction", "Undo Interaction"),
],