remove followers group visibility test
Also updates description of group.followers_filter() override
This commit is contained in:
parent
19c7e43f50
commit
bd20c9ce2c
2 changed files with 1 additions and 10 deletions
|
@ -23,7 +23,7 @@ class Group(BookWyrmModel):
|
|||
@classmethod
|
||||
def followers_filter(cls, queryset, viewer):
|
||||
"""Override filter for "followers" privacy level to allow non-following
|
||||
group members to see the existence of groups and group lists"""
|
||||
group members to see the existence of group-curated lists"""
|
||||
|
||||
return queryset.exclude(
|
||||
~Q( # user is not a group member
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue