Associate imported review with import item
This commit is contained in:
parent
1e2dca402b
commit
1e46de4c9d
4 changed files with 35 additions and 0 deletions
|
@ -60,6 +60,9 @@ class ImportItem(models.Model):
|
|||
related_name="book_guess",
|
||||
)
|
||||
fail_reason = models.TextField(null=True)
|
||||
linked_review = models.ForeignKey(
|
||||
"Review", on_delete=models.SET_NULL, null=True, blank=True
|
||||
)
|
||||
|
||||
def resolve(self):
|
||||
"""try various ways to lookup a book"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue