Use a TextField for the storage path field (#7967)

This commit is contained in:
Trenton H 2024-10-20 11:23:46 -07:00 committed by GitHub
parent 1d871fbe2a
commit 78a61d1067
2 changed files with 2 additions and 3 deletions

View File

@ -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,

View File

@ -125,9 +125,8 @@ class DocumentType(MatchingModel):
class StoragePath(MatchingModel):
path = models.CharField(
path = models.TextField(
_("path"),
max_length=2048,
)
class Meta(MatchingModel.Meta):