1
0
Fork 0

Adds remote ID to authors

This commit is contained in:
Mouse Reeve 2020-05-09 12:29:23 -07:00
parent 4741ada418
commit e9393ede28
3 changed files with 24 additions and 1 deletions

View file

@ -150,6 +150,7 @@ class Edition(Book):
class Author(FedireadsModel):
''' copy of an author from OL '''
remote_id = models.CharField(max_length=255, null=True)
openlibrary_key = models.CharField(max_length=255, blank=True, null=True)
sync = models.BooleanField(default=True)
last_sync_date = models.DateTimeField(default=timezone.now)