summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_warehouse/forms.py')
-rw-r--r--archaeological_warehouse/forms.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py
index 5a558aa45..facc94467 100644
--- a/archaeological_warehouse/forms.py
+++ b/archaeological_warehouse/forms.py
@@ -143,6 +143,7 @@ class WarehouseForm(CustomForm, ManageOldType, forms.Form):
form_label = _(u"Warehouse")
form_admin_name = _(u"Warehouse - 010 - General")
form_slug = "warehouse-010-general"
+ extra_form_modals = ["organization", "person"]
associated_models = {
'warehouse_type': models.WarehouseType,
'person_in_charge': Person,
@@ -259,6 +260,7 @@ class ContainerForm(CustomForm, ManageOldType, forms.Form):
form_admin_name = _(u"Container - 010 - General")
form_slug = "container-010-general"
file_upload = True
+ extra_form_modals = ["warehouse", "organization", "person"]
associated_models = {'container_type': models.ContainerType,
'location': models.Warehouse,
'responsible': models.Warehouse}