Skip to content

Commit

Permalink
Fix group admin
Browse files Browse the repository at this point in the history
  • Loading branch information
JobDoesburg committed Jun 27, 2022
1 parent a513371 commit ee825d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/users/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def get_count_members(self, obj):

def get_members(self, obj):
"""Get the members of a group."""
return ",".join(obj.user_set.values_list("name", flat=True))
return ",".join(str(u) for u in list(obj.user_set.all()))

get_members.short_description = "Members"

Expand Down

0 comments on commit ee825d4

Please sign in to comment.