Make inline progress form actually work
This commit is contained in:
parent
e7c0368168
commit
090cf2aea7
4 changed files with 26 additions and 9 deletions
|
@ -74,6 +74,10 @@ class Book(ActivitypubMixin, BookWyrmModel):
|
|||
''' reference the work via local id not remote '''
|
||||
return self.parent_work.remote_id
|
||||
|
||||
@property
|
||||
def latest_readthrough(self):
|
||||
return self.readthrough_set.order_by('-updated_date').first()
|
||||
|
||||
activity_mappings = [
|
||||
ActivityMapping('id', 'remote_id'),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue