summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_treatments.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-19 11:29:03 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-19 11:29:03 +0100
commit29104ec85974071a3d1999e27aa10a7c14463023 (patch)
treebc82bc59f61c8382b59e971b4a0716c00b50f692 /archaeological_finds/models_treatments.py
parent8855e6c333797d334f1da8b88697aebec58f3774 (diff)
downloadIshtar-29104ec85974071a3d1999e27aa10a7c14463023.tar.bz2
Ishtar-29104ec85974071a3d1999e27aa10a7c14463023.zip
Work on fix for treatment save (refs #3418)
Diffstat (limited to 'archaeological_finds/models_treatments.py')
-rw-r--r--archaeological_finds/models_treatments.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py
index 90badcd35..dacfbfdfc 100644
--- a/archaeological_finds/models_treatments.py
+++ b/archaeological_finds/models_treatments.py
@@ -90,6 +90,8 @@ class Treatment(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):
"upstream_cached_label": _(u"Upstream find"),
}
IMAGE_PREFIX = 'treatment'
+ # extra keys than can be passed to save method
+ EXTRA_SAVED_KEYS = ('items', 'user')
SLUG = 'treatment'
label = models.CharField(_(u"Label"), blank=True, null=True,
max_length=200)