forked from mirrors/bookwyrm
Fixes python formatting
This commit is contained in:
parent
c42719ee1e
commit
6f99947cac
1 changed files with 2 additions and 2 deletions
|
@ -205,7 +205,7 @@ def get_suggested_users(user, *args, **kwargs):
|
||||||
~Q(id__in=user.following.all()),
|
~Q(id__in=user.following.all()),
|
||||||
following__in=user.following.all(),
|
following__in=user.following.all(),
|
||||||
),
|
),
|
||||||
distinct=True
|
distinct=True,
|
||||||
),
|
),
|
||||||
shared_books=Count(
|
shared_books=Count(
|
||||||
"shelfbook",
|
"shelfbook",
|
||||||
|
@ -215,7 +215,7 @@ def get_suggested_users(user, *args, **kwargs):
|
||||||
s.book.parent_work for s in user.shelfbook_set.all()
|
s.book.parent_work for s in user.shelfbook_set.all()
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
distinct=True
|
distinct=True,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue