diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-02-09 18:22:04 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-04-16 16:41:50 +0200 |
commit | f6b2cf2702b405b77bf2642281cb38f5610409c4 (patch) | |
tree | 9334141185a75a457decbb8a831030fd3b0c33ce /ishtar_common/models.py | |
parent | a6e806ddd867ef953715c5beed8015006f8a14c5 (diff) | |
download | Ishtar-f6b2cf2702b405b77bf2642281cb38f5610409c4.tar.bz2 Ishtar-f6b2cf2702b405b77bf2642281cb38f5610409c4.zip |
✨ museum fields: forms
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index ebba1c034..5858fdb78 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1130,6 +1130,7 @@ class IshtarSiteProfile(models.Model, Cached): ) preservation = models.BooleanField(_("Preservation module"), default=False) mapping = models.BooleanField(_("Mapping module"), default=False) + museum = models.BooleanField(_("Museum module"), default=False, help_text=_("Need finds module")) point_precision = models.IntegerField( _("Point precision (search and sheets)"), null=True, @@ -1382,6 +1383,13 @@ class IshtarSiteProfile(models.Model, Cached): "Formula to manage cached label. If not set a default formula is used." ), ) + museum_complete_identifier = models.TextField( + _("Find - Complete museum ID"), + default="{{museum_id_prefix}}.{{museum_id}}.{{museum_id_suffix}}", + help_text=_( + "Formula to manage cached label. If not set a default formula is used." + ), + ) container_external_id = models.TextField( _("Container external id"), default="{parent_external_id}-{container_type__txt_idx}-" "{reference}", |