summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/forms.py
diff options
context:
space:
mode:
authorCefin <kevon@tuta.io>2021-10-06 14:30:24 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-11-16 17:04:41 +0100
commit48e597bf89603cb7572d02d1a72063a95b2b36df (patch)
treec5e67e533762d8196eb38df8c60cd204d6727820 /archaeological_warehouse/forms.py
parent9f6096409772bc6ea52546b96c6908952f3d37f1 (diff)
downloadIshtar-48e597bf89603cb7572d02d1a72063a95b2b36df.tar.bz2
Ishtar-48e597bf89603cb7572d02d1a72063a95b2b36df.zip
adding adress field for search
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 a5b8bb50c..b1ff0a480 100644
--- a/archaeological_warehouse/forms.py
+++ b/archaeological_warehouse/forms.py
@@ -150,6 +150,8 @@ class WarehouseSelect(CustomForm, TableSelect):
),
validators=[valid_id(Person)],
)
+ address = forms.CharField(label=_("Address"))
+
def __init__(self, *args, **kwargs):
super(WarehouseSelect, self).__init__(*args, **kwargs)