summaryrefslogtreecommitdiff
path: root/archaeological_context_records/forms.py
diff options
context:
space:
mode:
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
commit9f8f172e7e18c9d8fffc5d973f269a50a975d34e (patch)
treef7a78b7b5c988c1c98e588a97eaf1e313ac0d23f /archaeological_context_records/forms.py
parent6830c1ba33771fdecca15aeffded5b92aa88775c (diff)
downloadIshtar-9f8f172e7e18c9d8fffc5d973f269a50a975d34e.tar.bz2
Ishtar-9f8f172e7e18c9d8fffc5d973f269a50a975d34e.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.py1
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