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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue