Skip to content

Commit 2d9e899

Browse files
committed
fix bug when many of the same project are showing up on homepage
1 parent 67cf9b0 commit 2d9e899

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/managers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def get_user_projects_for_list_view(self):
5252
queryset=CustomUser.objects.only("id").all(),
5353
),
5454
Prefetch("collaborator_set"),
55-
)
55+
).distinct()
5656

5757
def get_projects_for_detail_view(self):
5858
return (

0 commit comments

Comments
 (0)