diff --git a/boards/models/thread.py b/boards/models/thread.py --- a/boards/models/thread.py +++ b/boards/models/thread.py @@ -133,7 +133,7 @@ class Thread(models.Model): query = Post.objects.filter(threads__in=[self]) query = query.order_by('pub_time').prefetch_related('images', 'thread', 'threads') if view_fields_only: - query = query.defer('poster_user_agent') + query = query.defer('poster_ip') return query.all() def get_replies_with_images(self, view_fields_only=False):