diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-10-22 14:14:12 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-10-22 14:14:12 +0200 |
commit | dc21cac08e3d1bfa0b96fa59182837202b76e107 (patch) | |
tree | 2f149d94440dd3b745fb90ea296678383ee25582 /archaeological_files/models.py | |
parent | 03b0dbd17b7c0e09db960048d89e59092d119753 (diff) | |
download | Ishtar-dc21cac08e3d1bfa0b96fa59182837202b76e107.tar.bz2 Ishtar-dc21cac08e3d1bfa0b96fa59182837202b76e107.zip |
Archaological files: add external_id field
Diffstat (limited to 'archaeological_files/models.py')
-rw-r--r-- | archaeological_files/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_files/models.py b/archaeological_files/models.py index 604278c73..72da0eb5f 100644 --- a/archaeological_files/models.py +++ b/archaeological_files/models.py @@ -77,6 +77,8 @@ class File(BaseHistorizedItem, OwnPerms, ValueGetter, ShortMenuItem, _(u"Numeric reference"), blank=True, null=True) internal_reference = models.CharField(_(u"Internal reference"), blank=True, null=True, max_length=60) + external_id = models.CharField(_(u"External ID"), blank=True, null=True, + max_length=120) name = models.TextField(_(u"Name"), blank=True, null=True) file_type = models.ForeignKey(FileType, verbose_name=_(u"File type")) in_charge = models.ForeignKey(Person, related_name='file_responsability', |