create migration for original filename

This commit is contained in:
Gwyn Hannay
2022-07-25 14:40:43 +08:00
committed by Trenton Holmes
parent 3fcbd8f3ac
commit 4194b248b9
2 changed files with 19 additions and 1 deletions

View File

@@ -214,7 +214,7 @@ class Document(models.Model):
help_text=_("Current archive filename in storage"),
)
original_filename = models.FilePathField(
original_filename = models.CharField(
_("original filename"),
max_length=1024,
editable=False,