diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-01-05 18:19:06 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-01-05 18:19:06 +0100 |
commit | 7a82793e0063029fbd7cf96748bcf19605fb97b6 (patch) | |
tree | f7a78b7b5c988c1c98e588a97eaf1e313ac0d23f /archaeological_context_records/forms.py | |
parent | 8df8f161ea57a3119d8cd76bf0d2f93df7728a42 (diff) | |
download | Ishtar-7a82793e0063029fbd7cf96748bcf19605fb97b6.tar.bz2 Ishtar-7a82793e0063029fbd7cf96748bcf19605fb97b6.zip |
Better management of context record relations tables (refs #3347)
Diffstat (limited to 'archaeological_context_records/forms.py')
-rw-r--r-- | archaeological_context_records/forms.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py index f47f41614..0452243e2 100644 --- a/archaeological_context_records/forms.py +++ b/archaeological_context_records/forms.py @@ -159,6 +159,7 @@ class RecordFormGeneral(ManageOldType, forms.Form): max_length=255, required=False, widget=widgets.ImageFileInput()) def __init__(self, *args, **kwargs): + # TODO: simplify operation = None if 'data' in kwargs and kwargs['data'] and \ ('operation' in kwargs['data'] or |