A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Merge branch 'master' into dev
Jonas Winklerea58c66fd43d
diff --cc src/documents/consumer.pyindex b50d40a0b,2d5ca6a71..5e95421ccmode 100755,100644..100755--- a/src/documents/consumer.py+++ b/src/documents/consumer.pydiff --cc src/documents/migrations/1001_workflow_improvements.pyindex 20820c32c,11b1a9ebb..d0e5158dbmode 100755,100644..100755--- a/src/documents/migrations/1001_workflow_improvements.py+++ b/src/documents/migrations/1001_workflow_improvements.pydiff --cc src/documents/models.pyindex ce5ece338,4c29fa4b8..bd5cf161bmode 100755,100644..100755--- a/src/documents/models.py+++ b/src/documents/models.py@@@ -24,13 -25,9 +25,13 @@@ except ImportErrorclass MatchingModel(models.Model):name = models.CharField(max_length=128, unique=True)- slug = models.SlugField(blank=True)+ slug = models.SlugField(blank=True, editable=False)- automatic_classification = models.BooleanField(default=False, help_text='Automatically assign to newly added documents based on current usage in your document collection.')+ automatic_classification = models.BooleanField(+ default=False,+ help_text="Automatically assign to newly added documents based on "+ "current usage in your document collection."+ )class Meta:abstract = Truediff --cc src/paperless/settings.pyindex 03edef88e,b0eb809d3..9340216f3--- a/src/paperless/settings.py+++ b/src/paperless/settings.py@@@ -199,12 -203,19 +203,22 @@@ STATIC_URL = os.getenv("PAPERLESS_STATIMEDIA_URL = os.getenv("PAPERLESS_MEDIA_URL", "/media/")+ # Other++ # Disable Django's artificial limit on the number of form fields to submit at+ # once. This is a protection against overloading the server, but since this is+ # a self-hosted sort of gig, the benefits of being able to mass-delete a tonne+ # of log entries outweight the benefits of such a safeguard.++ DATA_UPLOAD_MAX_NUMBER_FIELDS = None++# Document classification models locationMODEL_FILE = os.getenv(- "PAPERLESS_MODEL_FILE", os.path.join(BASE_DIR, "..", "models", "model.pickle"))+ "PAPERLESS_MODEL_FILE", os.path.join(+ BASE_DIR, "..", "models", "model.pickle"+ )+)# Paperless-specific stuff