From ebbb899c825770a7e92686786531d5502a7b4b4f Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 7 Nov 2014 19:32:30 +0100 Subject: Larger names for person --- ishtar_common/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index b6262278b..f77c4f980 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -873,9 +873,9 @@ class Person(Address, OwnPerms, ValueGetter) : TABLE_COLS = ('name', 'surname', 'email', 'person_types_list', 'attached_to') title = models.CharField(_(u"Title"), max_length=2, choices=TYPE) - surname = models.CharField(_(u"Surname"), max_length=20, blank=True, + surname = models.CharField(_(u"Surname"), max_length=50, blank=True, null=True) - name = models.CharField(_(u"Name"), max_length=30) + name = models.CharField(_(u"Name"), max_length=200) person_types = models.ManyToManyField(PersonType, verbose_name=_(u"Types")) attached_to = models.ForeignKey('Organization', related_name='members', on_delete=models.SET_NULL, -- cgit v1.2.3