mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-20 16:41:03 +00:00
Remove references to source_url
This commit is contained in:
parent
3a4a194160
commit
b8568a76c8
3 changed files with 2 additions and 5 deletions
|
@ -17,8 +17,6 @@ def get_book(book):
|
|||
'physical_format',
|
||||
'misc_identifiers',
|
||||
|
||||
'source_url',
|
||||
|
||||
'description',
|
||||
'languages',
|
||||
'series',
|
||||
|
|
|
@ -61,8 +61,8 @@ class Connector(AbstractConnector):
|
|||
}
|
||||
book = update_from_mappings(book, data, mappings)
|
||||
|
||||
if not book.source_url:
|
||||
book.source_url = response.url
|
||||
if not book.remote_id:
|
||||
book.remote_id = response.url
|
||||
if not book.connector:
|
||||
book.connector = self.connector
|
||||
book.save()
|
||||
|
|
|
@ -109,7 +109,6 @@ class EditionForm(ModelForm):
|
|||
'subjects',# TODO
|
||||
'subject_places',# TODO
|
||||
|
||||
'source_url',
|
||||
'connector',
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue