mirror of https://github.com/interlegis/sapl.git
Eduardo Edson Batista Cordeiro Alves
8 years ago
6 changed files with 114 additions and 5 deletions
@ -0,0 +1,30 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9.7 on 2016-09-16 13:25 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('parlamentares', '0024_merge'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.CreateModel( |
|||
name='Frente', |
|||
fields=[ |
|||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|||
('nome', models.CharField(max_length=80, verbose_name='Nome da Frente')), |
|||
('data_criacao', models.DateField(verbose_name='Data Criação')), |
|||
('data_extincao', models.DateField(blank=True, verbose_name='Data Dissolução')), |
|||
('descricao', models.TextField(blank=True, verbose_name='Descrição')), |
|||
('parlamentares', models.ManyToManyField(blank=True, to='parlamentares.Parlamentar', verbose_name='Parlamentares')), |
|||
], |
|||
options={ |
|||
'verbose_name': 'Frente', |
|||
'verbose_name_plural': 'Frentes', |
|||
}, |
|||
), |
|||
] |
@ -0,0 +1,20 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9.7 on 2016-09-16 13:34 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('parlamentares', '0025_frente'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='frente', |
|||
name='data_extincao', |
|||
field=models.DateField(blank=True, null=True, verbose_name='Data Dissolução'), |
|||
), |
|||
] |
Loading…
Reference in new issue