mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-02-24 04:16:24 +00:00
Compare commits
1 Commits
dev
...
fix-max-pa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0914a4b34d |
@@ -0,0 +1,21 @@
|
||||
# Generated by Django 5.2.7 on 2026-02-23 21:54
|
||||
|
||||
from django.db import migrations
|
||||
from django.db import models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("paperless", "0004_applicationconfiguration_barcode_asn_prefix_and_more"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="applicationconfiguration",
|
||||
name="barcode_max_pages",
|
||||
field=models.PositiveIntegerField(
|
||||
null=True,
|
||||
verbose_name="Sets the maximum pages for barcode",
|
||||
),
|
||||
),
|
||||
]
|
||||
@@ -250,7 +250,6 @@ class ApplicationConfiguration(AbstractSingletonModel):
|
||||
barcode_max_pages = models.PositiveIntegerField(
|
||||
verbose_name=_("Sets the maximum pages for barcode"),
|
||||
null=True,
|
||||
validators=[MinValueValidator(1)],
|
||||
)
|
||||
|
||||
# PAPERLESS_CONSUMER_ENABLE_TAG_BARCODE
|
||||
|
||||
Reference in New Issue
Block a user