summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-02-18 19:56:49 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-02-18 19:56:49 +0100
commitb58d12a861a65689f9641033a874ceb72d3b0b84 (patch)
tree437908000d70a71b6b066f7c5a2c39ec3635cb9c
parent19f63ba9641bb963ccaee345e6593b05f3b35497 (diff)
downloadIshtar-b58d12a861a65689f9641033a874ceb72d3b0b84.tar.bz2
Ishtar-b58d12a861a65689f9641033a874ceb72d3b0b84.zip
Fix site field in context record forms
-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 ac37ee6f6..6036b2b38 100644
--- a/archaeological_context_records/forms.py
+++ b/archaeological_context_records/forms.py
@@ -141,6 +141,7 @@ class RecordFormGeneral(CustomForm, ManageOldType):
file_upload = True
base_models = ["documentation"]
associated_models = {
+ 'archaeological_site': ArchaeologicalSite,
'parcel': Parcel, 'unit': models.Unit,
'documentation': models.DocumentationType,
'excavation_technic': models.ExcavationTechnicType}