Commit 26d90484 authored by Flavio Amieiro's avatar Flavio Amieiro

Aumenta tamanho do campo de sigla do partido

parent 7bdef908
Pipeline #32713347 passed with stage
in 1 minute and 51 seconds
# -*- coding: utf-8 -*-
# Generated by Django 1.11.14 on 2018-10-11 18:15
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('parlamento', '0005_auto_20180705_0235'),
]
operations = [
migrations.AlterField(
model_name='partido',
name='sigla',
field=models.CharField(max_length=10, primary_key=True, serialize=False, verbose_name='Sigla'),
),
]
......@@ -16,7 +16,7 @@ class Estado(models.Model):
@python_2_unicode_compatible
class Partido(models.Model):
sigla = models.CharField('Sigla', max_length=2, primary_key=True)
sigla = models.CharField('Sigla', max_length=10, primary_key=True)
nome = models.CharField('Nome', max_length=100)
def __str__(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment