mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-30 06:25:28 -04:00
hardcode EXTRACTOR_CHOICES to prevent nondeterministic migrations
This commit is contained in:
parent
0a5b22700c
commit
09553d8340
5 changed files with 44 additions and 19 deletions
|
@ -38,6 +38,21 @@ class Migration(migrations.Migration):
|
|||
migrations.AlterField(
|
||||
model_name='archiveresult',
|
||||
name='extractor',
|
||||
field=models.CharField(choices=[('htmltotext', 'htmltotext'), ('git', 'git'), ('singlefile', 'singlefile'), ('media', 'media'), ('archive_org', 'archive_org'), ('readability', 'readability'), ('mercury', 'mercury'), ('favicon', 'favicon'), ('pdf', 'pdf'), ('headers', 'headers'), ('screenshot', 'screenshot'), ('dom', 'dom'), ('title', 'title'), ('wget', 'wget')], max_length=32),
|
||||
field=models.CharField(choices=(
|
||||
('htmltotext', 'htmltotext'),
|
||||
('git', 'git'),
|
||||
('singlefile', 'singlefile'),
|
||||
('media', 'media'),
|
||||
('archive_org', 'archive_org'),
|
||||
('readability', 'readability'),
|
||||
('mercury', 'mercury'),
|
||||
('favicon', 'favicon'),
|
||||
('pdf', 'pdf'),
|
||||
('headers', 'headers'),
|
||||
('screenshot', 'screenshot'),
|
||||
('dom', 'dom'),
|
||||
('title', 'title'),
|
||||
('wget', 'wget'),
|
||||
), max_length=32),
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue