Updates status model and serializer
This commit is contained in:
parent
8bc0a57bd4
commit
3966c84e08
7 changed files with 167 additions and 166 deletions
|
@ -155,6 +155,7 @@ class Edition(Book):
|
|||
'Work', on_delete=models.PROTECT, null=True, related_name='editions')
|
||||
|
||||
activity_serializer = activitypub.Edition
|
||||
name_field = 'title'
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
''' calculate isbn 10/13 '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue