diff options
| 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 |
| commit | 29104ec85974071a3d1999e27aa10a7c14463023 (patch) | |
| tree | bc82bc59f61c8382b59e971b4a0716c00b50f692 /archaeological_finds/models_treatments.py | |
| parent | 8855e6c333797d334f1da8b88697aebec58f3774 (diff) | |
| download | Ishtar-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.py | 2 |
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) |
