summaryrefslogtreecommitdiff
path: root/archaeological_context_records/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-01-23 10:17:12 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-04-24 19:38:56 +0200
commit8358b94c162a0893b66fe42022fecea0f223454e (patch)
treef6bbbb1372b7f332f3b55bd19c335bbd7aa02827 /archaeological_context_records/forms.py
parent4ba918ead7249e31c038a91e2d664a49c5d14e93 (diff)
downloadIshtar-8358b94c162a0893b66fe42022fecea0f223454e.tar.bz2
Ishtar-8358b94c162a0893b66fe42022fecea0f223454e.zip
Forms: filter coordinates fields
Diffstat (limited to 'archaeological_context_records/forms.py')
-rw-r--r--archaeological_context_records/forms.py10
1 files changed, 10 insertions, 0 deletions
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