Save best-guess search results on import
This commit is contained in:
parent
ebabbf475a
commit
fa396d4bc8
3 changed files with 41 additions and 5 deletions
25
bookwyrm/migrations/0083_importitem_book_guess.py
Normal file
25
bookwyrm/migrations/0083_importitem_book_guess.py
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Generated by Django 3.2.4 on 2021-08-10 20:49
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("bookwyrm", "0082_auto_20210806_2324"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="importitem",
|
||||
name="book_guess",
|
||||
field=models.ForeignKey(
|
||||
blank=True,
|
||||
null=True,
|
||||
on_delete=django.db.models.deletion.SET_NULL,
|
||||
related_name="book_guess",
|
||||
to="bookwyrm.book",
|
||||
),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue