Re-thinks connector mappings
This commit is contained in:
parent
d54c8c4dc4
commit
0f579e7d8d
7 changed files with 166 additions and 90 deletions
|
@ -29,8 +29,6 @@ class Connector(FedireadsModel):
|
|||
covers_url = models.CharField(max_length=255)
|
||||
search_url = models.CharField(max_length=255, null=True)
|
||||
|
||||
key_name = models.CharField(max_length=255)
|
||||
|
||||
politeness_delay = models.IntegerField(null=True) #seconds
|
||||
max_query_count = models.IntegerField(null=True)
|
||||
# how many queries executed in a unit of time, like a day
|
||||
|
@ -54,7 +52,6 @@ class Book(FedireadsModel):
|
|||
openlibrary_key = models.CharField(max_length=255, blank=True, null=True)
|
||||
librarything_key = models.CharField(max_length=255, blank=True, null=True)
|
||||
goodreads_key = models.CharField(max_length=255, blank=True, null=True)
|
||||
misc_identifiers = JSONField(null=True)
|
||||
|
||||
# info about where the data comes from and where/if to sync
|
||||
sync = models.BooleanField(default=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue