mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 11:31:08 +00:00
Another linting issues
This commit is contained in:
parent
47953c84d7
commit
f353b49d36
1 changed files with 1 additions and 0 deletions
|
@ -265,6 +265,7 @@ class User(OrderedCollectionPageMixin, AbstractUser):
|
|||
|
||||
@classmethod
|
||||
def get_permanently_deleted_users(cls):
|
||||
"""a list of users who are permanently deleted"""
|
||||
return cls.objects.filter(
|
||||
is_active=False,
|
||||
deactivation_reason__in=["self_deletion", "moderator_deletion"],
|
||||
|
|
Loading…
Reference in a new issue