diff --git a/sapl/comissoes/migrations/0006_auto_20160916_1243.py b/sapl/comissoes/migrations/0006_auto_20160916_1243.py new file mode 100644 index 000000000..1c5fcaa9c --- /dev/null +++ b/sapl/comissoes/migrations/0006_auto_20160916_1243.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.7 on 2016-09-16 15:43 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('comissoes', '0005_comissao_ativa'), + ] + + operations = [ + migrations.AlterField( + model_name='comissao', + name='ativa', + field=models.BooleanField(choices=[(True, 'Sim'), (False, 'Não')], default=True, verbose_name='Comissão Ativa?'), + ), + ] diff --git a/sapl/comissoes/models.py b/sapl/comissoes/models.py index 304456c8f..3be814355 100644 --- a/sapl/comissoes/models.py +++ b/sapl/comissoes/models.py @@ -75,6 +75,7 @@ class Comissao(models.Model): verbose_name=_('Unidade Deliberativa')) ativa = models.BooleanField( choices=YES_NO_CHOICES, + default=True, verbose_name=_('Comissão Ativa?')) class Meta: