diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-08-26 11:37:40 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-08-26 11:37:40 +0200 |
commit | b654b29c36415b8d2417e1777d2a9456a153aed1 (patch) | |
tree | 470037d78aea27b00737842903919c7b28d7d989 | |
parent | 7921b2b7295b9e4132da9623397f2e81cf60b61c (diff) | |
download | Ishtar-b654b29c36415b8d2417e1777d2a9456a153aed1.tar.bz2 Ishtar-b654b29c36415b8d2417e1777d2a9456a153aed1.zip |
Public API: add public description for finds
-rw-r--r-- | archaeological_finds/models_finds.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index cffbaf03e..0e93723c9 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -1661,6 +1661,7 @@ class Find(BulkUpdatedItem, ValueGetter, DocumentItem, BaseHistorizedItem, "denomination": self.denomination, "free-id": self.label, "description": self.description, + "public-description": self.public_description, "materials": [str(mt) for mt in self.material_types.all()], "material-comment": self.material_comment, "object-types": [str(ot) for ot in self.object_types.all()], |