A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Use a TextField for the storage path field (#7967)
Trenton H544e9c4fe214
diff --git a/src/documents/migrations/1055_alter_storagepath_path.py b/src/documents/migrations/1055_alter_storagepath_path.pyindex 8231aacd7..1421bf824 100644--- a/src/documents/migrations/1055_alter_storagepath_path.py+++ b/src/documents/migrations/1055_alter_storagepath_path.py@@ -27,7 +27,7 @@ class Migration(migrations.Migration):migrations.AlterField(model_name="storagepath",name="path",- field=models.CharField(max_length=2048, verbose_name="path"),+ field=models.TextField(verbose_name="path"),),migrations.RunPython(convert_from_format_to_template,diff --git a/src/documents/models.py b/src/documents/models.pyindex 23325739c..37c86305c 100644--- a/src/documents/models.py+++ b/src/documents/models.py@@ -125,9 +125,8 @@ class DocumentType(MatchingModel):class StoragePath(MatchingModel):- path = models.CharField(+ path = models.TextField(_("path"),- max_length=2048,)class Meta(MatchingModel.Meta):