Browse Source

Mudando tamanho do campo nome do autor

Signed-off-by: Luciano Almeida <lucianoalmeida@interlegis.leg.br>
pull/1103/head
Luciano Almeida 8 years ago
parent
commit
c9c5122e6f
  1. 20
      sapl/base/migrations/0003_auto_20170519_1106.py
  2. 2
      sapl/base/models.py

20
sapl/base/migrations/0003_auto_20170519_1106.py

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.12 on 2017-05-19 11:06
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('base', '0002_auto_20170331_1900'),
]
operations = [
migrations.AlterField(
model_name='autor',
name='nome',
field=models.CharField(blank=True, max_length=60, verbose_name='Nome do Autor'),
),
]

2
sapl/base/models.py

@ -211,7 +211,7 @@ class Autor(models.Model):
autor_related = GenericForeignKey('content_type', 'object_id')
nome = models.CharField(
max_length=50, blank=True, verbose_name=_('Nome do Autor'))
max_length=60, blank=True, verbose_name=_('Nome do Autor'))
cargo = models.CharField(max_length=50, blank=True)

Loading…
Cancel
Save