emblacken files

Wouldn't it be great if I just remembered to run Black before every commit?
This commit is contained in:
Hugh Rundle
2021-10-09 22:15:24 +11:00
parent b3cc9e5b75
commit 252ff0d689
4 changed files with 22 additions and 10 deletions

View File

@ -7,6 +7,7 @@ from .base_model import BookWyrmModel
from . import fields
from .relationship import UserBlocks
class Group(BookWyrmModel):
"""A group of users"""
@ -36,6 +37,7 @@ class Group(BookWyrmModel):
return queryset.exclude(~Q(memberships__user=viewer), privacy="direct")
class GroupMember(models.Model):
"""Users who are members of a group"""