summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_finds.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/models_finds.py')
-rw-r--r--archaeological_finds/models_finds.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py
index c4e6abb54..6f8199412 100644
--- a/archaeological_finds/models_finds.py
+++ b/archaeological_finds/models_finds.py
@@ -1083,6 +1083,10 @@ class Find(BulkUpdatedItem, ValueGetter, BaseHistorizedItem, OwnPerms,
SearchAltName(
pgettext_lazy(u"key for text search", u"comment"),
'comment__iexact'),
+ 'material_comment':
+ SearchAltName(
+ pgettext_lazy(u"key for text search", u"material-comment"),
+ 'material_comment__iexact'),
'dating_comment':
SearchAltName(
pgettext_lazy(u"key for text search", u"dating-comment"),
@@ -1343,6 +1347,8 @@ class Find(BulkUpdatedItem, ValueGetter, BaseHistorizedItem, OwnPerms,
on_delete=models.SET_NULL,
blank=True, null=True
)
+ material_comment = models.TextField(_(u"Comment on the material"),
+ blank=True, null=True)
volume = models.FloatField(_(u"Volume (l)"), blank=True, null=True)
weight = models.FloatField(_(u"Weight"), blank=True, null=True)
weight_unit = models.CharField(_(u"Weight unit"), max_length=4,