diff --git a/parlamentares/migrations/0014_auto_20160318_1504.py b/parlamentares/migrations/0014_auto_20160318_1504.py new file mode 100644 index 000000000..86170086d --- /dev/null +++ b/parlamentares/migrations/0014_auto_20160318_1504.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9 on 2016-03-18 18:04 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('parlamentares', '0013_merge'), + ] + + operations = [ + migrations.AlterField( + model_name='parlamentar', + name='unidade_deliberativa', + field=models.BooleanField(default=False, verbose_name='Unidade Deliberativa'), + ), + ] diff --git a/parlamentares/models.py b/parlamentares/models.py index 23f74aa17..2114dbe23 100644 --- a/parlamentares/models.py +++ b/parlamentares/models.py @@ -238,7 +238,7 @@ class Parlamentar(models.Model): biografia = models.TextField( blank=True, verbose_name=_('Biografia')) # XXX Esse atribuito foi colocado aqui para não atrapalhar a migração - unidade_deliberativa = models.BooleanField( + unidade_deliberativa = models.BooleanField(default=False, verbose_name=_('Unidade Deliberativa')) fotografia = models.ImageField( blank=True, diff --git a/protocoloadm/migrations/0011_auto_20160318_1504.py b/protocoloadm/migrations/0011_auto_20160318_1504.py new file mode 100644 index 000000000..e887fafb5 --- /dev/null +++ b/protocoloadm/migrations/0011_auto_20160318_1504.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9 on 2016-03-18 18:04 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('protocoloadm', '0010_auto_20160309_1407'), + ] + + operations = [ + migrations.AlterField( + model_name='protocolo', + name='justificativa_anulacao', + field=models.CharField(blank=True, max_length=60, verbose_name='Motivo'), + ), + ]