summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/forms.py
diff options
context:
space:
mode:
authorCefin <kevon@tuta.io>2021-10-12 11:08:47 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-10-25 12:06:03 +0200
commit943f599ac425631aad511ea295ebd8df8161a2e4 (patch)
treebbe5647f1286855768dc1c2dc85a8eac45a4694e /archaeological_warehouse/forms.py
parent72f495182a9bdc7faaca1a81d27a8ca293c6284e (diff)
downloadIshtar-943f599ac425631aad511ea295ebd8df8161a2e4.tar.bz2
Ishtar-943f599ac425631aad511ea295ebd8df8161a2e4.zip
code review on FindSelect Finds
Diffstat (limited to 'archaeological_warehouse/forms.py')
-rw-r--r--archaeological_warehouse/forms.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py
index f70bf5595..6638140d6 100644
--- a/archaeological_warehouse/forms.py
+++ b/archaeological_warehouse/forms.py
@@ -143,14 +143,6 @@ class WarehouseSelect(CustomForm, TableSelect):
name = forms.CharField(label=_("Name"))
warehouse_type = forms.ChoiceField(label=_("Warehouse type"), choices=[])
town = get_town_field(label=_("Town"))
- person_in_charge = forms.IntegerField(
- label=_("Person in charge"),
- widget=widgets.JQueryAutoComplete(
- reverse_lazy("autocomplete-person"), associated_model=Person
- ),
- validators=[valid_id(Person)],
- )
-
def __init__(self, *args, **kwargs):
super(WarehouseSelect, self).__init__(*args, **kwargs)