Use activity type mixin
This commit is contained in:
parent
7381536ad6
commit
2ef777f87e
4 changed files with 9 additions and 9 deletions
|
@ -4,12 +4,12 @@ from django.db.models import Q
|
|||
from django.dispatch import receiver
|
||||
|
||||
from bookwyrm import activitypub
|
||||
from .activitypub_mixin import ActivitypubMixin
|
||||
from .activitypub_mixin import ActivityMixin
|
||||
from .base_model import BookWyrmModel
|
||||
from . import fields
|
||||
|
||||
|
||||
class UserRelationship(ActivitypubMixin, BookWyrmModel):
|
||||
class UserRelationship(ActivityMixin, BookWyrmModel):
|
||||
''' many-to-many through table for followers '''
|
||||
user_subject = fields.ForeignKey(
|
||||
'User',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue