refactors tag model to fit ordered collection structure
This commit is contained in:
parent
a93b5cf5bc
commit
fd7e476c9b
10 changed files with 110 additions and 52 deletions
|
@ -70,7 +70,7 @@ class ShelfBook(BookWyrmModel):
|
|||
ActivityMapping('id', 'remote_id'),
|
||||
ActivityMapping('actor', 'added_by'),
|
||||
ActivityMapping('object', 'book'),
|
||||
ActivityMapping('target', 'shelf')
|
||||
ActivityMapping('target', 'shelf'),
|
||||
]
|
||||
|
||||
activity_serializer = activitypub.AddBook
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue