Browse Source

Aumentar campos no model casas.Funcionario

pull/66/head
Sesostris Vieira 4 years ago
parent
commit
f53ac44173
  1. 26
      sigi/apps/casas/migrations/0019_auto_20210501_1058.py
  2. 4
      sigi/apps/casas/models.py

26
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,
),
]

4
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(

Loading…
Cancel
Save