From a8a8cf7079a25fe8ee909106ba30e0daa7395c5e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 6 Apr 2017 16:12:01 +0200 Subject: Warehouse form: name can be up to 200 chars (refs #3585) --- archaeological_warehouse/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_warehouse') diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py index 3dd38d747..94e31b759 100644 --- a/archaeological_warehouse/forms.py +++ b/archaeological_warehouse/forms.py @@ -100,7 +100,7 @@ class WarehouseForm(ManageOldType, forms.Form): associated_models = {'warehouse_type': models.WarehouseType, 'person_in_charge': Person} - name = forms.CharField(label=_(u"Name"), max_length=40, + name = forms.CharField(label=_(u"Name"), max_length=200, validators=[name_validator]) warehouse_type = forms.ChoiceField(label=_(u"Warehouse type"), choices=[]) -- cgit v1.2.3