Fixed privacy issue in get_privacy_query utils function

This commit is contained in:
Eliot Berriot 2018-03-25 17:18:22 +02:00
parent 2d4003c8c4
commit 122c39075a
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
1 changed files with 1 additions and 1 deletions

View File

@ -22,6 +22,6 @@ def privacy_level_query(user, lookup_field='privacy_level'):
return models.Q(**{
'{}__in'.format(lookup_field): [
'me', 'followers', 'instance', 'everyone'
'followers', 'instance', 'everyone'
]
})