Browse Source

Merge branch 'master' of github.com:interlegis/sapl

pull/585/head
Eduardo Calil 8 years ago
parent
commit
1defa921ee
  1. 20
      sapl/sessao/migrations/0023_auto_20160915_1405.py
  2. 2
      sapl/sessao/models.py

20
sapl/sessao/migrations/0023_auto_20160915_1405.py

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.7 on 2016-09-15 17:05
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('sessao', '0022_auto_20160805_0943'),
]
operations = [
migrations.AlterField(
model_name='bancada',
name='nome',
field=models.CharField(max_length=80, verbose_name='Nome da Bancada, Bloco, ou Frente'),
),
]

2
sapl/sessao/models.py

@ -29,7 +29,7 @@ class Bancada(models.Model):
legislatura = models.ForeignKey(Legislatura, verbose_name=_('Legislatura')) legislatura = models.ForeignKey(Legislatura, verbose_name=_('Legislatura'))
nome = models.CharField( nome = models.CharField(
max_length=80, max_length=80,
verbose_name=_('Nome da Bancada, Bloco, Frente ou Grupo')) verbose_name=_('Nome da Bancada, Bloco, ou Frente'))
partido = models.ForeignKey(Partido, blank=True, null=True, partido = models.ForeignKey(Partido, blank=True, null=True,
verbose_name=_('Partido')) verbose_name=_('Partido'))
data_criacao = models.DateField(blank=True, null=True, data_criacao = models.DateField(blank=True, null=True,

Loading…
Cancel
Save