mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 00:26:33 +00:00
Typo fix
This commit is contained in:
parent
ed6fd6d48e
commit
7f82546230
4 changed files with 2 additions and 4 deletions
|
@ -76,7 +76,6 @@ class Connector(AbstractConnector):
|
|||
key = data.get('works')[0]['key']
|
||||
key = key.split('/')[-1]
|
||||
work = self.get_or_create_book(key)
|
||||
h
|
||||
|
||||
book.parent_work = work
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
''' settings book data connectors '''
|
||||
|
||||
CONNECTORS = ['openlibrary', 'fedireads']
|
||||
CONNECTORS = ['openlibrary', 'fedireads_connector']
|
||||
|
|
|
@ -84,7 +84,6 @@ class Book(FedireadsModel):
|
|||
through='ShelfBook',
|
||||
through_fields=('book', 'shelf')
|
||||
)
|
||||
# TODO: why can't I just call this work????
|
||||
parent_work = models.ForeignKey('Work', on_delete=models.PROTECT, null=True)
|
||||
objects = InheritanceManager()
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ Connector.objects.create(
|
|||
|
||||
Connector.objects.create(
|
||||
identifier=DOMAIN,
|
||||
connector_file='fedireads',
|
||||
connector_file='fedireads_connector',
|
||||
base_url='https://%s/book' % DOMAIN,
|
||||
covers_url='https://%s/images/covers' % DOMAIN,
|
||||
search_url='https://%s/search?q=' % DOMAIN,
|
||||
|
|
Loading…
Reference in a new issue