update files and model to include new field

This commit is contained in:
Gwyn Hannay
2022-06-18 08:10:22 +08:00
committed by Trenton Holmes
parent 0878a199f4
commit 3fcbd8f3ac
5 changed files with 15 additions and 0 deletions

View File

@@ -214,6 +214,16 @@ class Document(models.Model):
help_text=_("Current archive filename in storage"),
)
original_filename = models.FilePathField(
_("original filename"),
max_length=1024,
editable=False,
default=None,
unique=False,
null=True,
help_text=_("The original name of the file when it was uploaded")
)
archive_serial_number = models.IntegerField(
_("archive serial number"),
blank=True,