update files and model to include new field

This commit is contained in:
Gwyn Hannay authored and Trenton Holmes committed 2022-08-20 14:30:14 -07:00
1 parent 0878a199f4
commit 3fcbd8f3ac
5 files changed
+15

No files matched your search

+10
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,