avoid duplicate users for or queries, fixes #2871
This commit is contained in:
parent
e05774ed96
commit
face7da3da
1 changed files with 2 additions and 1 deletions
|
@ -109,4 +109,5 @@ class SessionDataManager(Manager):
|
|||
user)
|
||||
if conditions:
|
||||
qs = qs.filter(conditions)
|
||||
qs = qs.distinct()
|
||||
return qs
|
||||
|
|
Loading…
Reference in a new issue