diff options
| 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 | 
| commit | 6b4cf8d0ba6ee46a6bb9c1b91996e6d72ef14a7e (patch) | |
| tree | 828819c4d1cfb9d193339b6b30ae737b745161df /ishtar_common/models.py | |
| parent | 545b867b9e2c6bc208dc4fd8c13191a9872306b4 (diff) | |
| download | Ishtar-6b4cf8d0ba6ee46a6bb9c1b91996e6d72ef14a7e.tar.bz2 Ishtar-6b4cf8d0ba6ee46a6bb9c1b91996e6d72ef14a7e.zip | |
Work on imports
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 3 | 
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")) | 
