From 6b4cf8d0ba6ee46a6bb9c1b91996e6d72ef14a7e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 6 Feb 2013 18:24:49 +0100 Subject: Work on imports --- ishtar_common/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index cff55ea5b..6039f46e3 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -553,7 +553,8 @@ class Person(Address, OwnPerms) : ('Dr', _(u'Doctor')), ) title = models.CharField(_(u"Title"), max_length=2, choices=TYPE) - surname = models.CharField(_(u"Surname"), max_length=20) + surname = models.CharField(_(u"Surname"), max_length=20, blank=True, + null=True) name = models.CharField(_(u"Name"), max_length=30) email = models.CharField(_(u"Email"), max_length=40, blank=True, null=True) person_type = models.ForeignKey(PersonType, verbose_name=_(u"Type")) -- cgit v1.2.3