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 9eeea5d66..1f8eab6a8 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1181,6 +1181,14 @@ class IshtarSiteProfile(models.Model, Cached): _("Preventive operator module"), default=False ) underwater = models.BooleanField(_("Underwater module"), default=False) + no_context_button = models.ForeignKey( + "archaeological_context_records.ContextRecord", + verbose_name=_("Context record for no context button"), + help_text=_('If provided a button is displayed on find search pages to create a "No context" find'), + on_delete=models.SET_NULL, + null=True, + blank=True + ) parcel_mandatory = models.BooleanField( _("Parcel are mandatory for context records"), default=True ) |