summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-02-06 18:24:49 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-02-06 18:24:49 +0100
commit9e48ded005a9a974566d5c43521d34f3b78f6956 (patch)
tree828819c4d1cfb9d193339b6b30ae737b745161df /ishtar_common/models.py
parent8677ef523c12939daacc8a37c493c5c75e68ef2c (diff)
downloadIshtar-9e48ded005a9a974566d5c43521d34f3b78f6956.tar.bz2
Ishtar-9e48ded005a9a974566d5c43521d34f3b78f6956.zip
Work on imports
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"))