summaryrefslogtreecommitdiff
path: root/archaeological_files/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-08-23 18:25:58 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-08-23 18:25:58 +0200
commit7be596f41305b4be26796625bd800d58a04bb0a7 (patch)
tree9743bec37b2c651fafecfc373a1d5bb8bc2aadc3 /archaeological_files/forms.py
parented74b751839d42d30a74b0d67a47ae138a537377 (diff)
downloadIshtar-7be596f41305b4be26796625bd800d58a04bb0a7.tar.bz2
Ishtar-7be596f41305b4be26796625bd800d58a04bb0a7.zip
PersonType from single value to multi value for Person
Diffstat (limited to 'archaeological_files/forms.py')
-rw-r--r--archaeological_files/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_files/forms.py b/archaeological_files/forms.py
index 27617f8ad..544c89048 100644
--- a/archaeological_files/forms.py
+++ b/archaeological_files/forms.py
@@ -46,7 +46,7 @@ from ishtar_common import widgets
class FileSelect(TableSelect):
towns = get_town_field()
in_charge = get_person_field(label=_(u"Person in charge"),
- person_type='sra_agent')
+ person_types=['sra_agent'])
file_type = forms.ChoiceField(label=_("File type"), choices=[])
saisine_type = forms.ChoiceField(label=_("Saisine type"), choices=[])
year = forms.IntegerField(label=_("Year"))