diff --git a/sapl/parlamentares/migrations/0031_auto_20200407_1406.py b/sapl/parlamentares/migrations/0031_auto_20200407_1406.py new file mode 100644 index 000000000..874ea6733 --- /dev/null +++ b/sapl/parlamentares/migrations/0031_auto_20200407_1406.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.29 on 2020-04-07 17:06 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('parlamentares', '0030_auto_20190613_1133'), + ] + + operations = [ + migrations.AlterField( + model_name='partido', + name='sigla', + field=models.CharField(max_length=20, verbose_name='Sigla'), + ), + ] diff --git a/sapl/parlamentares/models.py b/sapl/parlamentares/models.py index 9f4cc4138..03d374e19 100644 --- a/sapl/parlamentares/models.py +++ b/sapl/parlamentares/models.py @@ -104,7 +104,7 @@ def logo_upload_path(instance, filename): @reversion.register() class Partido(models.Model): - sigla = models.CharField(max_length=9, verbose_name=_('Sigla')) + sigla = models.CharField(max_length=20, verbose_name=_('Sigla')) nome = models.CharField(max_length=50, verbose_name=_('Nome')) data_criacao = models.DateField( blank=True, null=True, verbose_name=_('Data Criação'))