mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +01:00
Inreases the length to 5, allowing for commas as well as values (#4719)
This commit is contained in:
parent
e3f4e0b775
commit
64cfc43891
2 changed files with 23 additions and 1 deletions
|
|
@ -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}",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue