summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-12-13 16:24:01 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-12-13 16:24:01 +0100
commit23cdeb61230cb552f77732dab5f7f9dae7c2aebd (patch)
treee24d3051ef3dfc262882d8edaeebf366c0dd465f
parentad54889b73f6c08d0a1f73bd1b48228169cd77f8 (diff)
downloadIshtar-23cdeb61230cb552f77732dab5f7f9dae7c2aebd.tar.bz2
Ishtar-23cdeb61230cb552f77732dab5f7f9dae7c2aebd.zip
Person form: raw name is (of course) not required
-rw-r--r--ishtar_common/forms_common.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py
index 1ff9532e9..93f6b9ec6 100644
--- a/ishtar_common/forms_common.py
+++ b/ishtar_common/forms_common.py
@@ -258,7 +258,8 @@ class SimplePersonForm(NewItemForm):
validators=[name_validator])
name = forms.CharField(label=_(u"Name"), max_length=30,
validators=[name_validator])
- raw_name = forms.CharField(label=_(u"Raw name"), max_length=255)
+ raw_name = forms.CharField(label=_(u"Raw name"), max_length=255,
+ required=False)
address = forms.CharField(label=_(u"Address"), widget=forms.Textarea,
required=False)
address_complement = forms.CharField(label=_(u"Address complement"),