summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/forms.py
diff options
context:
space:
mode:
authorCefin <kevon@tuta.io>2021-10-12 11:08:47 +0200
committerCefin <kevon@tuta.io>2021-10-13 10:57:40 +0200
commit3b807ab8394bc3a412631073b3c2c0b8d8715a16 (patch)
treec62dc725fdbb7cca2fec69f54bc14d4b2e3e05d7 /archaeological_warehouse/forms.py
parentc79d00b54a7d0ea163664d4d7dc95e757fad255a (diff)
downloadIshtar-3b807ab8394bc3a412631073b3c2c0b8d8715a16.tar.bz2
Ishtar-3b807ab8394bc3a412631073b3c2c0b8d8715a16.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)