Fix max_length on OcrSettings.mode field

This commit is contained in:
shamoon 2023-12-15 18:40:20 -08:00 committed by Trenton H
parent 9956ab7fa9
commit 2d3bf934d0
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ class Migration(migrations.Migration):
("redo", "redo"), ("redo", "redo"),
("force", "force"), ("force", "force"),
], ],
max_length=8, max_length=16,
null=True, null=True,
verbose_name="Sets the OCR mode", verbose_name="Sets the OCR mode",
), ),

View File

@ -83,7 +83,7 @@ class OcrSettings(AbstractSingletonModel):
verbose_name=_("Sets the OCR mode"), verbose_name=_("Sets the OCR mode"),
null=True, null=True,
blank=True, blank=True,
max_length=8, max_length=16,
choices=ModeChoices.choices, choices=ModeChoices.choices,
) )