Inreases the length to 5, allowing for commas as well as values (#4719)

This commit is contained in:
Trenton H
2023-11-30 07:00:54 -08:00
committed by GitHub
parent e3f4e0b775
commit 64cfc43891
2 changed files with 23 additions and 1 deletions

View File

@@ -754,7 +754,7 @@ class ConsumptionTemplate(models.Model):
order = models.IntegerField(_("order"), default=0)
sources = MultiSelectField(
max_length=3,
max_length=5,
choices=DocumentSourceChoices.choices,
default=f"{DocumentSource.ConsumeFolder},{DocumentSource.ApiUpload},{DocumentSource.MailFetch}",
)