diff options
Diffstat (limited to 'activities/views/posts.py')
-rw-r--r-- | activities/views/posts.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activities/views/posts.py b/activities/views/posts.py index e285c7e..1b8676d 100644 --- a/activities/views/posts.py +++ b/activities/views/posts.py @@ -67,6 +67,8 @@ class Individual(TemplateView): in_reply_to=self.post_obj.object_uri, ) .distinct() + .select_related("author__domain") + .prefetch_related("emojis") .order_by("published", "created"), } |