diff --git a/sigi/apps/casas/migrations/0019_auto_20210501_1058.py b/sigi/apps/casas/migrations/0019_auto_20210501_1058.py new file mode 100644 index 0000000..0dc0e4b --- /dev/null +++ b/sigi/apps/casas/migrations/0019_auto_20210501_1058.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('casas', '0018_orgao_sigla'), + ] + + operations = [ + migrations.AlterField( + model_name='funcionario', + name='email', + field=models.CharField(max_length=250, verbose_name='e-mail', blank=True), + preserve_default=True, + ), + migrations.AlterField( + model_name='funcionario', + name='nota', + field=models.CharField(max_length=250, null=True, verbose_name='Telefones', blank=True), + preserve_default=True, + ), + ] diff --git a/sigi/apps/casas/models.py b/sigi/apps/casas/models.py index 4a63403..4aaf760 100644 --- a/sigi/apps/casas/models.py +++ b/sigi/apps/casas/models.py @@ -379,11 +379,11 @@ class Funcionario(models.Model): ) nota = models.CharField( _(u"Telefones"), - max_length=70, + max_length=250, null=True, blank=True ) - email = models.CharField(_(u'e-mail'), max_length=75, blank=True) + email = models.CharField(_(u'e-mail'), max_length=250, blank=True) # endereco = generic.GenericRelation('contatos.Endereco') endereco = models.CharField(_(u'Endereço'), max_length=100, blank=True) municipio = models.ForeignKey(