From ed873aba33c302d5af5223d68b572fae084a104b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 23 Jan 2019 10:17:12 +0100 Subject: Forms: filter coordinates fields --- archaeological_context_records/forms.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'archaeological_context_records/forms.py') diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py index 7566dcc71..ce9aa6c30 100644 --- a/archaeological_context_records/forms.py +++ b/archaeological_context_records/forms.py @@ -202,6 +202,16 @@ class RecordFormGeneral(CustomForm, ManageOldType): FieldType('documentation', models.DocumentationType, is_multiple=True) ] + PROFILE_FILTER = { + 'mapping': [ + 'x', 'get_first_base_find__y', + 'z', 'get_first_base_find__estimated_error_x', + 'estimated_error_y', + 'estimated_error_z', + 'spatial_reference_system' + ], + } + def __init__(self, *args, **kwargs): # TODO: simplify operation = None -- cgit v1.2.3