From 9f8f172e7e18c9d8fffc5d973f269a50a975d34e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 5 Jan 2017 18:19:06 +0100 Subject: Better management of context record relations tables (refs #3347) --- archaeological_context_records/forms.py | 1 + 1 file changed, 1 insertion(+) (limited to 'archaeological_context_records/forms.py') 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 -- cgit v1.2.3