User ordered collection subtype for shelves
This commit is contained in:
@ -23,6 +23,8 @@ class Shelf(OrderedCollectionMixin, BookWyrmModel):
|
||||
through_fields=('shelf', 'book')
|
||||
)
|
||||
|
||||
activity_serializer = activitypub.Shelf
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
''' set the identifier '''
|
||||
saved = super().save(*args, **kwargs)
|
||||
|
Reference in New Issue
Block a user