mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-12 22:25:44 -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
|
@ -180,12 +180,8 @@ class SnapshotActionForm(ActionForm):
|
|||
)
|
||||
|
||||
# TODO: allow selecting actions for specific extractors? is this useful?
|
||||
# EXTRACTOR_CHOICES = [
|
||||
# (name, name.title())
|
||||
# for name, _, _ in get_default_archive_methods()
|
||||
# ]
|
||||
# extractor = forms.ChoiceField(
|
||||
# choices=EXTRACTOR_CHOICES,
|
||||
# choices=ArchiveResult.EXTRACTOR_CHOICES,
|
||||
# required=False,
|
||||
# widget=forms.MultileChoiceField(attrs={'class': "form-control"})
|
||||
# )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue