From 10f8c73f98ecbd49e14169afc5307b3a27151909 Mon Sep 17 00:00:00 2001 From: Her Email Date: Mon, 27 Nov 2023 23:41:44 -0500 Subject: [PATCH] migration: create posts for collection --- takahe/management/commands/backfill_takahe.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/takahe/management/commands/backfill_takahe.py b/takahe/management/commands/backfill_takahe.py index 01c1f290..a2b93f45 100644 --- a/takahe/management/commands/backfill_takahe.py +++ b/takahe/management/commands/backfill_takahe.py @@ -76,6 +76,8 @@ def process_post(self): Takahe.post_comment(p, self.post_new) elif p.__class__ == Review: Takahe.post_review(p, self.post_new) + elif p.__class__ == Collection: + Takahe.post_collection(p) set_disable_timeline(False) def process_timeline(self):