diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-24 13:17:23 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:25 +0100 |
commit | a4f8ceb10cb00e6b2b0906c79eacb59162e4e7be (patch) | |
tree | f17455d8b5bae5c7d8acecb0738854eafbfe424c /archaeological_finds | |
parent | 5adeeeab51621d0a9def271c9945094be66e2d64 (diff) | |
download | Ishtar-a4f8ceb10cb00e6b2b0906c79eacb59162e4e7be.tar.bz2 Ishtar-a4f8ceb10cb00e6b2b0906c79eacb59162e4e7be.zip |
Container templates: add a "material_types" and a "material_types_code"
Diffstat (limited to 'archaeological_finds')
-rw-r--r-- | archaeological_finds/models_finds.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index bab3dae9f..3924ee106 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -1841,6 +1841,10 @@ class Find(BulkUpdatedItem, ValueGetter, DocumentItem, BaseHistorizedItem, return return self.base_finds.order_by('-pk').all()[0] + DOC_VALUES = [ + ("base_finds.", _("List of associated base finds")), + ] + def get_values(self, prefix='', no_values=False, filtr=None, **kwargs): no_base_finds = False if "no_base_finds" in kwargs: |