emblacken files
Wouldn't it be great if I just remembered to run Black before every commit?
This commit is contained in:
parent
b3cc9e5b75
commit
252ff0d689
4 changed files with 22 additions and 10 deletions
|
@ -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"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue