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
commit8d1c4fc1363ad793ff0b08105cffb2fdda3d97fd (patch)
treebc82bc59f61c8382b59e971b4a0716c00b50f692 /archaeological_finds/models_treatments.py
parentafab7f1edbd911313a0478d3bdbbdc791ea073ab (diff)
downloadIshtar-8d1c4fc1363ad793ff0b08105cffb2fdda3d97fd.tar.bz2
Ishtar-8d1c4fc1363ad793ff0b08105cffb2fdda3d97fd.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)