diff options
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}",  | 
