summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py3
1 files changed, 2 insertions, 1 deletions
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"))