diff --git a/base/migrations/0001_initial.py b/base/migrations/0001_initial.py index 9457039b5..7db684a28 100644 --- a/base/migrations/0001_initial.py +++ b/base/migrations/0001_initial.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- - +from __future__ import unicode_literals from django.db import models, migrations @@ -13,12 +13,12 @@ class Migration(migrations.Migration): migrations.CreateModel( name='CasaLegislativa', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('nome', models.CharField(max_length=100, verbose_name='Nome')), ('sigla', models.CharField(max_length=100, verbose_name='Sigla')), - ('endereco', models.CharField(max_length=100, verbose_name='Endere\xe7o')), + ('endereco', models.CharField(max_length=100, verbose_name='Endereço')), ('cep', models.CharField(max_length=100, verbose_name='CEP')), - ('municipio', models.CharField(max_length=100, verbose_name='Munic\xedpio')), + ('municipio', models.CharField(max_length=100, verbose_name='Município')), ('uf', models.CharField(max_length=100, verbose_name='UF')), ('telefone', models.CharField(max_length=100, verbose_name='Telefone')), ('fax', models.CharField(max_length=100, verbose_name='Fax')), @@ -28,7 +28,7 @@ class Migration(migrations.Migration): ('logotipo', models.CharField(max_length=100, verbose_name='Logotipo')), ('endereco_web', models.CharField(max_length=100, verbose_name='HomePage')), ('email', models.CharField(max_length=100, verbose_name='E-mail')), - ('informacao_geral', models.CharField(max_length=100, verbose_name='Informa\xe7\xe3o Geral')), + ('informacao_geral', models.CharField(max_length=100, verbose_name='Informação Geral')), ], options={ 'verbose_name': 'Casa Legislativa', diff --git a/comissoes/migrations/0001_initial.py b/comissoes/migrations/0001_initial.py index 7a1986fa6..d4d2951d4 100644 --- a/comissoes/migrations/0001_initial.py +++ b/comissoes/migrations/0001_initial.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- - +from __future__ import unicode_literals from django.db import models, migrations @@ -14,107 +14,107 @@ class Migration(migrations.Migration): migrations.CreateModel( name='CargoComissao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('nome', models.CharField(max_length=50, verbose_name='Cargo')), - ('unico', models.BooleanField(verbose_name='\xdanico')), + ('unico', models.BooleanField(verbose_name='Único')), ], options={ - 'verbose_name': 'Cargo de Comiss\xe3o', - 'verbose_name_plural': 'Cargos de Comiss\xe3o', + 'verbose_name': 'Cargo de Comissão', + 'verbose_name_plural': 'Cargos de Comissão', }, ), migrations.CreateModel( name='Comissao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('nome', models.CharField(max_length=60, verbose_name='Nome')), ('sigla', models.CharField(max_length=10, verbose_name='Sigla')), - ('data_criacao', models.DateField(verbose_name='Data de Cria\xe7\xe3o')), - ('data_extincao', models.DateField(null=True, verbose_name='Data de Extin\xe7\xe3o', blank=True)), - ('apelido_temp', models.CharField(max_length=100, null=True, verbose_name='Apelido', blank=True)), - ('data_instalacao_temp', models.DateField(null=True, verbose_name='Data Instala\xe7\xe3o', blank=True)), - ('data_final_prevista_temp', models.DateField(null=True, verbose_name='Data Prevista T\xe9rmino', blank=True)), - ('data_prorrogada_temp', models.DateField(null=True, verbose_name='Novo Prazo', blank=True)), - ('data_fim_comissao', models.DateField(null=True, verbose_name='Data T\xe9rmino', blank=True)), - ('secretario', models.CharField(max_length=30, null=True, verbose_name='Secret\xe1rio', blank=True)), - ('telefone_reuniao', models.CharField(max_length=15, null=True, verbose_name='Tel. Sala Reuni\xe3o', blank=True)), - ('endereco_secretaria', models.CharField(max_length=100, null=True, verbose_name='Endere\xe7o Secretaria', blank=True)), - ('telefone_secretaria', models.CharField(max_length=15, null=True, verbose_name='Tel. Secretaria', blank=True)), - ('fax_secretaria', models.CharField(max_length=15, null=True, verbose_name='Fax Secretaria', blank=True)), - ('agenda_reuniao', models.CharField(max_length=100, null=True, verbose_name='Data/Hora Reuni\xe3o', blank=True)), - ('local_reuniao', models.CharField(max_length=100, null=True, verbose_name='Local Reuni\xe3o', blank=True)), - ('finalidade', models.TextField(null=True, verbose_name='Finalidade', blank=True)), - ('email', models.CharField(max_length=100, null=True, verbose_name='E-mail', blank=True)), + ('data_criacao', models.DateField(verbose_name='Data de Criação')), + ('data_extincao', models.DateField(blank=True, verbose_name='Data de Extinção', null=True)), + ('apelido_temp', models.CharField(max_length=100, blank=True, verbose_name='Apelido', null=True)), + ('data_instalacao_temp', models.DateField(blank=True, verbose_name='Data Instalação', null=True)), + ('data_final_prevista_temp', models.DateField(blank=True, verbose_name='Data Prevista Término', null=True)), + ('data_prorrogada_temp', models.DateField(blank=True, verbose_name='Novo Prazo', null=True)), + ('data_fim_comissao', models.DateField(blank=True, verbose_name='Data Término', null=True)), + ('secretario', models.CharField(max_length=30, blank=True, verbose_name='Secretário', null=True)), + ('telefone_reuniao', models.CharField(max_length=15, blank=True, verbose_name='Tel. Sala Reunião', null=True)), + ('endereco_secretaria', models.CharField(max_length=100, blank=True, verbose_name='Endereço Secretaria', null=True)), + ('telefone_secretaria', models.CharField(max_length=15, blank=True, verbose_name='Tel. Secretaria', null=True)), + ('fax_secretaria', models.CharField(max_length=15, blank=True, verbose_name='Fax Secretaria', null=True)), + ('agenda_reuniao', models.CharField(max_length=100, blank=True, verbose_name='Data/Hora Reunião', null=True)), + ('local_reuniao', models.CharField(max_length=100, blank=True, verbose_name='Local Reunião', null=True)), + ('finalidade', models.TextField(blank=True, verbose_name='Finalidade', null=True)), + ('email', models.CharField(max_length=100, blank=True, verbose_name='E-mail', null=True)), ('unidade_deliberativa', models.BooleanField()), ], options={ - 'verbose_name': 'Comiss\xe3o', - 'verbose_name_plural': 'Comiss\xf5es', + 'verbose_name': 'Comissão', + 'verbose_name_plural': 'Comissões', }, ), migrations.CreateModel( name='Composicao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('comissao', models.ForeignKey(verbose_name='Comiss\xe3o', to='comissoes.Comissao')), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('comissao', models.ForeignKey(to='comissoes.Comissao', verbose_name='Comissão')), ], options={ - 'verbose_name': 'Composi\xe7\xe3o de Comiss\xe3o', - 'verbose_name_plural': 'Composi\xe7\xf5es de Comiss\xe3o', + 'verbose_name': 'Composição de Comissão', + 'verbose_name_plural': 'Composições de Comissão', }, ), migrations.CreateModel( name='Participacao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('titular', models.BooleanField(verbose_name='Titular')), - ('data_designacao', models.DateField(verbose_name='Data Designa\xe7\xe3o')), - ('data_desligamento', models.DateField(null=True, verbose_name='Data Desligamento', blank=True)), - ('motivo_desligamento', models.CharField(max_length=150, null=True, verbose_name='Motivo Desligamento', blank=True)), - ('observacao', models.CharField(max_length=150, null=True, verbose_name='Observa\xe7\xe3o', blank=True)), + ('data_designacao', models.DateField(verbose_name='Data Designação')), + ('data_desligamento', models.DateField(blank=True, verbose_name='Data Desligamento', null=True)), + ('motivo_desligamento', models.CharField(max_length=150, blank=True, verbose_name='Motivo Desligamento', null=True)), + ('observacao', models.CharField(max_length=150, blank=True, verbose_name='Observação', null=True)), ('cargo', models.ForeignKey(to='comissoes.CargoComissao')), ('composicao', models.ForeignKey(to='comissoes.Composicao')), ('parlamentar', models.ForeignKey(to='parlamentares.Parlamentar')), ], options={ - 'verbose_name': 'Participa\xe7\xe3o em Comiss\xe3o', - 'verbose_name_plural': 'Participa\xe7\xf5es em Comiss\xe3o', + 'verbose_name': 'Participação em Comissão', + 'verbose_name_plural': 'Participações em Comissão', }, ), migrations.CreateModel( name='Periodo', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_inicio', models.DateField(verbose_name='Data In\xedcio')), - ('data_fim', models.DateField(null=True, verbose_name='Data Fim', blank=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('data_inicio', models.DateField(verbose_name='Data Início')), + ('data_fim', models.DateField(blank=True, verbose_name='Data Fim', null=True)), ], options={ - 'verbose_name': 'Per\xedodo de composi\xe7\xe3o de Comiss\xe3o', - 'verbose_name_plural': 'Per\xedodos de composi\xe7\xe3o de Comiss\xe3o', + 'verbose_name': 'Período de composição de Comissão', + 'verbose_name_plural': 'Períodos de composição de Comissão', }, ), migrations.CreateModel( name='TipoComissao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('nome', models.CharField(max_length=50, verbose_name='Nome')), - ('natureza', models.CharField(max_length=1, verbose_name='Natureza', choices=[(b'T', 'Tempor\xe1ria'), (b'P', 'Permanente')])), + ('natureza', models.CharField(max_length=1, choices=[('T', 'Temporária'), ('P', 'Permanente')], verbose_name='Natureza')), ('sigla', models.CharField(max_length=10, verbose_name='Sigla')), - ('dispositivo_regimental', models.CharField(max_length=50, null=True, verbose_name='Dispositivo Regimental', blank=True)), + ('dispositivo_regimental', models.CharField(max_length=50, blank=True, verbose_name='Dispositivo Regimental', null=True)), ], options={ - 'verbose_name': 'Tipo de Comiss\xe3o', - 'verbose_name_plural': 'Tipos de Comiss\xe3o', + 'verbose_name': 'Tipo de Comissão', + 'verbose_name_plural': 'Tipos de Comissão', }, ), migrations.AddField( model_name='composicao', name='periodo', - field=models.ForeignKey(verbose_name='Per\xedodo', to='comissoes.Periodo'), + field=models.ForeignKey(to='comissoes.Periodo', verbose_name='Período'), ), migrations.AddField( model_name='comissao', name='tipo', - field=models.ForeignKey(verbose_name='Tipo', to='comissoes.TipoComissao'), + field=models.ForeignKey(to='comissoes.TipoComissao', verbose_name='Tipo'), ), ] diff --git a/legacy/migrations/0001_initial.py b/legacy/migrations/0001_initial.py index e33f36a17..dd6aa4398 100644 --- a/legacy/migrations/0001_initial.py +++ b/legacy/migrations/0001_initial.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- - +from __future__ import unicode_literals from django.db import models, migrations @@ -27,11 +27,11 @@ class Migration(migrations.Migration): migrations.CreateModel( name='Anexada', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('cod_materia_principal', models.IntegerField()), ('cod_materia_anexada', models.IntegerField()), ('dat_anexacao', models.DateField()), - ('dat_desanexacao', models.DateField(null=True, blank=True)), + ('dat_desanexacao', models.DateField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -57,7 +57,7 @@ class Migration(migrations.Migration): fields=[ ('cod_assunto', models.AutoField(serialize=False, primary_key=True)), ('des_assunto', models.CharField(max_length=50)), - ('des_estendida', models.CharField(max_length=250, null=True, blank=True)), + ('des_estendida', models.CharField(max_length=250, blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -69,13 +69,13 @@ class Migration(migrations.Migration): name='Autor', fields=[ ('cod_autor', models.AutoField(serialize=False, primary_key=True)), - ('cod_partido', models.IntegerField(null=True, blank=True)), - ('cod_comissao', models.IntegerField(null=True, blank=True)), - ('cod_parlamentar', models.IntegerField(null=True, blank=True)), + ('cod_partido', models.IntegerField(blank=True, null=True)), + ('cod_comissao', models.IntegerField(blank=True, null=True)), + ('cod_parlamentar', models.IntegerField(blank=True, null=True)), ('tip_autor', models.IntegerField()), - ('nom_autor', models.CharField(max_length=50, null=True, blank=True)), - ('des_cargo', models.CharField(max_length=50, null=True, blank=True)), - ('col_username', models.CharField(max_length=50, null=True, blank=True)), + ('nom_autor', models.CharField(max_length=50, blank=True, null=True)), + ('des_cargo', models.CharField(max_length=50, blank=True, null=True)), + ('col_username', models.CharField(max_length=50, blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -86,7 +86,7 @@ class Migration(migrations.Migration): migrations.CreateModel( name='Autoria', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('cod_autor', models.IntegerField()), ('cod_materia', models.IntegerField()), ('ind_primeiro_autor', models.IntegerField()), @@ -129,7 +129,7 @@ class Migration(migrations.Migration): ('cod_coligacao', models.AutoField(serialize=False, primary_key=True)), ('num_legislatura', models.IntegerField()), ('nom_coligacao', models.CharField(max_length=50)), - ('num_votos_coligacao', models.IntegerField(null=True, blank=True)), + ('num_votos_coligacao', models.IntegerField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -145,21 +145,21 @@ class Migration(migrations.Migration): ('nom_comissao', models.CharField(max_length=60)), ('sgl_comissao', models.CharField(max_length=10)), ('dat_criacao', models.DateField()), - ('dat_extincao', models.DateField(null=True, blank=True)), - ('nom_apelido_temp', models.CharField(max_length=100, null=True, blank=True)), - ('dat_instalacao_temp', models.DateField(null=True, blank=True)), - ('dat_final_prevista_temp', models.DateField(null=True, blank=True)), - ('dat_prorrogada_temp', models.DateField(null=True, blank=True)), - ('dat_fim_comissao', models.DateField(null=True, blank=True)), - ('nom_secretario', models.CharField(max_length=30, null=True, blank=True)), - ('num_tel_reuniao', models.CharField(max_length=15, null=True, blank=True)), - ('end_secretaria', models.CharField(max_length=100, null=True, blank=True)), - ('num_tel_secretaria', models.CharField(max_length=15, null=True, blank=True)), - ('num_fax_secretaria', models.CharField(max_length=15, null=True, blank=True)), - ('des_agenda_reuniao', models.CharField(max_length=100, null=True, blank=True)), - ('loc_reuniao', models.CharField(max_length=100, null=True, blank=True)), - ('txt_finalidade', models.TextField(null=True, blank=True)), - ('end_email', models.CharField(max_length=100, null=True, blank=True)), + ('dat_extincao', models.DateField(blank=True, null=True)), + ('nom_apelido_temp', models.CharField(max_length=100, blank=True, null=True)), + ('dat_instalacao_temp', models.DateField(blank=True, null=True)), + ('dat_final_prevista_temp', models.DateField(blank=True, null=True)), + ('dat_prorrogada_temp', models.DateField(blank=True, null=True)), + ('dat_fim_comissao', models.DateField(blank=True, null=True)), + ('nom_secretario', models.CharField(max_length=30, blank=True, null=True)), + ('num_tel_reuniao', models.CharField(max_length=15, blank=True, null=True)), + ('end_secretaria', models.CharField(max_length=100, blank=True, null=True)), + ('num_tel_secretaria', models.CharField(max_length=15, blank=True, null=True)), + ('num_fax_secretaria', models.CharField(max_length=15, blank=True, null=True)), + ('des_agenda_reuniao', models.CharField(max_length=100, blank=True, null=True)), + ('loc_reuniao', models.CharField(max_length=100, blank=True, null=True)), + ('txt_finalidade', models.TextField(blank=True, null=True)), + ('end_email', models.CharField(max_length=100, blank=True, null=True)), ('ind_unid_deliberativa', models.IntegerField()), ('ind_excluido', models.IntegerField()), ], @@ -171,7 +171,7 @@ class Migration(migrations.Migration): migrations.CreateModel( name='ComposicaoColigacao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('cod_partido', models.IntegerField()), ('cod_coligacao', models.IntegerField()), ('ind_excluido', models.IntegerField()), @@ -191,9 +191,9 @@ class Migration(migrations.Migration): ('cod_cargo', models.IntegerField()), ('ind_titular', models.IntegerField()), ('dat_designacao', models.DateField()), - ('dat_desligamento', models.DateField(null=True, blank=True)), - ('des_motivo_desligamento', models.CharField(max_length=150, null=True, blank=True)), - ('obs_composicao', models.CharField(max_length=150, null=True, blank=True)), + ('dat_desligamento', models.DateField(blank=True, null=True)), + ('des_motivo_desligamento', models.CharField(max_length=150, blank=True, null=True)), + ('obs_composicao', models.CharField(max_length=150, blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -204,7 +204,7 @@ class Migration(migrations.Migration): migrations.CreateModel( name='ComposicaoMesa', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('cod_parlamentar', models.IntegerField()), ('cod_sessao_leg', models.IntegerField()), ('cod_cargo', models.IntegerField()), @@ -223,10 +223,10 @@ class Migration(migrations.Migration): ('cod_parlamentar', models.IntegerField()), ('nom_dependente', models.CharField(max_length=50)), ('sex_dependente', models.CharField(max_length=1)), - ('dat_nascimento', models.DateField(null=True, blank=True)), - ('num_cpf', models.CharField(max_length=14, null=True, blank=True)), - ('num_rg', models.CharField(max_length=15, null=True, blank=True)), - ('num_tit_eleitor', models.CharField(max_length=15, null=True, blank=True)), + ('dat_nascimento', models.DateField(blank=True, null=True)), + ('num_cpf', models.CharField(max_length=14, blank=True, null=True)), + ('num_rg', models.CharField(max_length=15, blank=True, null=True)), + ('num_tit_eleitor', models.CharField(max_length=15, blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -237,7 +237,7 @@ class Migration(migrations.Migration): migrations.CreateModel( name='DespachoInicial', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('cod_materia', models.IntegerField()), ('num_ordem', models.IntegerField()), ('cod_comissao', models.IntegerField()), @@ -255,10 +255,10 @@ class Migration(migrations.Migration): ('cod_materia', models.IntegerField()), ('tip_documento', models.IntegerField()), ('nom_documento', models.CharField(max_length=30)), - ('dat_documento', models.DateField(null=True, blank=True)), - ('nom_autor_documento', models.CharField(max_length=50, null=True, blank=True)), - ('txt_ementa', models.TextField(null=True, blank=True)), - ('txt_indexacao', models.TextField(null=True, blank=True)), + ('dat_documento', models.DateField(blank=True, null=True)), + ('nom_autor_documento', models.CharField(max_length=50, blank=True, null=True)), + ('txt_ementa', models.TextField(blank=True, null=True)), + ('txt_indexacao', models.TextField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -274,10 +274,10 @@ class Migration(migrations.Migration): ('tip_documento', models.IntegerField()), ('nom_documento', models.CharField(max_length=30)), ('nom_arquivo', models.CharField(max_length=100)), - ('dat_documento', models.DateField(null=True, blank=True)), - ('nom_autor_documento', models.CharField(max_length=50, null=True, blank=True)), - ('txt_assunto', models.TextField(null=True, blank=True)), - ('txt_indexacao', models.TextField(null=True, blank=True)), + ('dat_documento', models.DateField(blank=True, null=True)), + ('nom_autor_documento', models.CharField(max_length=50, blank=True, null=True)), + ('txt_assunto', models.TextField(blank=True, null=True)), + ('txt_indexacao', models.TextField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -293,14 +293,14 @@ class Migration(migrations.Migration): ('num_documento', models.IntegerField()), ('ano_documento', models.SmallIntegerField()), ('dat_documento', models.DateField()), - ('num_protocolo', models.IntegerField(null=True, blank=True)), - ('txt_interessado', models.CharField(max_length=50, null=True, blank=True)), - ('cod_autor', models.IntegerField(null=True, blank=True)), - ('num_dias_prazo', models.IntegerField(null=True, blank=True)), - ('dat_fim_prazo', models.DateField(null=True, blank=True)), + ('num_protocolo', models.IntegerField(blank=True, null=True)), + ('txt_interessado', models.CharField(max_length=50, blank=True, null=True)), + ('cod_autor', models.IntegerField(blank=True, null=True)), + ('num_dias_prazo', models.IntegerField(blank=True, null=True)), + ('dat_fim_prazo', models.DateField(blank=True, null=True)), ('ind_tramitacao', models.IntegerField()), ('txt_assunto', models.TextField()), - ('txt_observacao', models.TextField(null=True, blank=True)), + ('txt_observacao', models.TextField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -315,10 +315,10 @@ class Migration(migrations.Migration): ('cod_sessao_plen', models.IntegerField()), ('cod_materia', models.IntegerField()), ('dat_ordem', models.DateField()), - ('txt_observacao', models.TextField(null=True, blank=True)), + ('txt_observacao', models.TextField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ('num_ordem', models.IntegerField()), - ('txt_resultado', models.TextField(null=True, blank=True)), + ('txt_resultado', models.TextField(blank=True, null=True)), ('tip_votacao', models.IntegerField()), ], options={ @@ -329,10 +329,10 @@ class Migration(migrations.Migration): migrations.CreateModel( name='ExpedienteSessaoPlenaria', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('cod_sessao_plen', models.IntegerField()), ('cod_expediente', models.IntegerField()), - ('txt_expediente', models.TextField(null=True, blank=True)), + ('txt_expediente', models.TextField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -343,11 +343,11 @@ class Migration(migrations.Migration): migrations.CreateModel( name='Filiacao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('dat_filiacao', models.DateField()), ('cod_parlamentar', models.IntegerField()), ('cod_partido', models.IntegerField()), - ('dat_desfiliacao', models.DateField(null=True, blank=True)), + ('dat_desfiliacao', models.DateField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -358,21 +358,21 @@ class Migration(migrations.Migration): migrations.CreateModel( name='LegislacaoCitada', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('cod_materia', models.IntegerField()), ('cod_norma', models.IntegerField()), - ('des_disposicoes', models.CharField(max_length=15, null=True, blank=True)), - ('des_parte', models.CharField(max_length=8, null=True, blank=True)), - ('des_livro', models.CharField(max_length=7, null=True, blank=True)), - ('des_titulo', models.CharField(max_length=7, null=True, blank=True)), - ('des_capitulo', models.CharField(max_length=7, null=True, blank=True)), - ('des_secao', models.CharField(max_length=7, null=True, blank=True)), - ('des_subsecao', models.CharField(max_length=7, null=True, blank=True)), - ('des_artigo', models.CharField(max_length=4, null=True, blank=True)), - ('des_paragrafo', models.CharField(max_length=3, null=True, blank=True)), - ('des_inciso', models.CharField(max_length=10, null=True, blank=True)), - ('des_alinea', models.CharField(max_length=3, null=True, blank=True)), - ('des_item', models.CharField(max_length=3, null=True, blank=True)), + ('des_disposicoes', models.CharField(max_length=15, blank=True, null=True)), + ('des_parte', models.CharField(max_length=8, blank=True, null=True)), + ('des_livro', models.CharField(max_length=7, blank=True, null=True)), + ('des_titulo', models.CharField(max_length=7, blank=True, null=True)), + ('des_capitulo', models.CharField(max_length=7, blank=True, null=True)), + ('des_secao', models.CharField(max_length=7, blank=True, null=True)), + ('des_subsecao', models.CharField(max_length=7, blank=True, null=True)), + ('des_artigo', models.CharField(max_length=4, blank=True, null=True)), + ('des_paragrafo', models.CharField(max_length=3, blank=True, null=True)), + ('des_inciso', models.CharField(max_length=10, blank=True, null=True)), + ('des_alinea', models.CharField(max_length=3, blank=True, null=True)), + ('des_item', models.CharField(max_length=3, blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -401,11 +401,11 @@ class Migration(migrations.Migration): ('id_provedor', models.IntegerField()), ('nom_provedor', models.CharField(max_length=255)), ('sgl_provedor', models.CharField(max_length=15)), - ('adm_email', models.CharField(max_length=50, null=True, blank=True)), - ('nom_responsavel', models.CharField(max_length=255, null=True, blank=True)), + ('adm_email', models.CharField(max_length=50, blank=True, null=True)), + ('nom_responsavel', models.CharField(max_length=255, blank=True, null=True)), ('tipo', models.CharField(max_length=50)), - ('id_responsavel', models.IntegerField(null=True, blank=True)), - ('xml_provedor', models.TextField(null=True, blank=True)), + ('id_responsavel', models.IntegerField(blank=True, null=True)), + ('xml_provedor', models.TextField(blank=True, null=True)), ], options={ 'db_table': 'lexml_registro_provedor', @@ -418,9 +418,9 @@ class Migration(migrations.Migration): ('cod_publicador', models.AutoField(serialize=False, primary_key=True)), ('id_publicador', models.IntegerField()), ('nom_publicador', models.CharField(max_length=255)), - ('adm_email', models.CharField(max_length=50, null=True, blank=True)), - ('sigla', models.CharField(max_length=255, null=True, blank=True)), - ('nom_responsavel', models.CharField(max_length=255, null=True, blank=True)), + ('adm_email', models.CharField(max_length=50, blank=True, null=True)), + ('sigla', models.CharField(max_length=255, blank=True, null=True)), + ('nom_responsavel', models.CharField(max_length=255, blank=True, null=True)), ('tipo', models.CharField(max_length=50)), ('id_responsavel', models.IntegerField()), ], @@ -433,11 +433,11 @@ class Migration(migrations.Migration): name='Localidade', fields=[ ('cod_localidade', models.IntegerField(serialize=False, primary_key=True)), - ('nom_localidade', models.CharField(max_length=50, null=True, blank=True)), - ('nom_localidade_pesq', models.CharField(max_length=50, null=True, blank=True)), - ('tip_localidade', models.CharField(max_length=1, null=True, blank=True)), - ('sgl_uf', models.CharField(max_length=2, null=True, blank=True)), - ('sgl_regiao', models.CharField(max_length=2, null=True, blank=True)), + ('nom_localidade', models.CharField(max_length=50, blank=True, null=True)), + ('nom_localidade_pesq', models.CharField(max_length=50, blank=True, null=True)), + ('tip_localidade', models.CharField(max_length=1, blank=True, null=True)), + ('sgl_uf', models.CharField(max_length=2, blank=True, null=True)), + ('sgl_regiao', models.CharField(max_length=2, blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -450,14 +450,14 @@ class Migration(migrations.Migration): fields=[ ('cod_mandato', models.AutoField(serialize=False, primary_key=True)), ('cod_parlamentar', models.IntegerField()), - ('tip_afastamento', models.IntegerField(null=True, blank=True)), + ('tip_afastamento', models.IntegerField(blank=True, null=True)), ('num_legislatura', models.IntegerField()), - ('cod_coligacao', models.IntegerField(null=True, blank=True)), - ('tip_causa_fim_mandato', models.IntegerField(null=True, blank=True)), - ('dat_fim_mandato', models.DateField(null=True, blank=True)), - ('num_votos_recebidos', models.IntegerField(null=True, blank=True)), - ('dat_expedicao_diploma', models.DateField(null=True, blank=True)), - ('txt_observacao', models.TextField(null=True, blank=True)), + ('cod_coligacao', models.IntegerField(blank=True, null=True)), + ('tip_causa_fim_mandato', models.IntegerField(blank=True, null=True)), + ('dat_fim_mandato', models.DateField(blank=True, null=True)), + ('num_votos_recebidos', models.IntegerField(blank=True, null=True)), + ('dat_expedicao_diploma', models.DateField(blank=True, null=True)), + ('txt_observacao', models.TextField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -468,7 +468,7 @@ class Migration(migrations.Migration): migrations.CreateModel( name='MateriaAssunto', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('cod_assunto', models.IntegerField()), ('cod_materia', models.IntegerField()), ('ind_excluido', models.IntegerField()), @@ -483,30 +483,30 @@ class Migration(migrations.Migration): fields=[ ('cod_materia', models.AutoField(serialize=False, primary_key=True)), ('tip_id_basica', models.IntegerField()), - ('num_protocolo', models.IntegerField(null=True, blank=True)), + ('num_protocolo', models.IntegerField(blank=True, null=True)), ('num_ident_basica', models.IntegerField()), ('ano_ident_basica', models.SmallIntegerField()), - ('dat_apresentacao', models.DateField(null=True, blank=True)), - ('tip_apresentacao', models.CharField(max_length=1, null=True, blank=True)), + ('dat_apresentacao', models.DateField(blank=True, null=True)), + ('tip_apresentacao', models.CharField(max_length=1, blank=True, null=True)), ('cod_regime_tramitacao', models.IntegerField()), - ('dat_publicacao', models.DateField(null=True, blank=True)), - ('tip_origem_externa', models.IntegerField(null=True, blank=True)), - ('num_origem_externa', models.CharField(max_length=5, null=True, blank=True)), - ('ano_origem_externa', models.SmallIntegerField(null=True, blank=True)), - ('dat_origem_externa', models.DateField(null=True, blank=True)), - ('cod_local_origem_externa', models.IntegerField(null=True, blank=True)), - ('nom_apelido', models.CharField(max_length=50, null=True, blank=True)), - ('num_dias_prazo', models.IntegerField(null=True, blank=True)), - ('dat_fim_prazo', models.DateField(null=True, blank=True)), + ('dat_publicacao', models.DateField(blank=True, null=True)), + ('tip_origem_externa', models.IntegerField(blank=True, null=True)), + ('num_origem_externa', models.CharField(max_length=5, blank=True, null=True)), + ('ano_origem_externa', models.SmallIntegerField(blank=True, null=True)), + ('dat_origem_externa', models.DateField(blank=True, null=True)), + ('cod_local_origem_externa', models.IntegerField(blank=True, null=True)), + ('nom_apelido', models.CharField(max_length=50, blank=True, null=True)), + ('num_dias_prazo', models.IntegerField(blank=True, null=True)), + ('dat_fim_prazo', models.DateField(blank=True, null=True)), ('ind_tramitacao', models.IntegerField()), - ('ind_polemica', models.IntegerField(null=True, blank=True)), - ('des_objeto', models.CharField(max_length=150, null=True, blank=True)), - ('ind_complementar', models.IntegerField(null=True, blank=True)), + ('ind_polemica', models.IntegerField(blank=True, null=True)), + ('des_objeto', models.CharField(max_length=150, blank=True, null=True)), + ('ind_complementar', models.IntegerField(blank=True, null=True)), ('txt_ementa', models.TextField()), - ('txt_indexacao', models.TextField(null=True, blank=True)), - ('txt_observacao', models.TextField(null=True, blank=True)), + ('txt_indexacao', models.TextField(blank=True, null=True)), + ('txt_observacao', models.TextField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), - ('txt_resultado', models.TextField(null=True, blank=True)), + ('txt_resultado', models.TextField(blank=True, null=True)), ], options={ 'db_table': 'materia_legislativa', @@ -516,12 +516,12 @@ class Migration(migrations.Migration): migrations.CreateModel( name='MesaSessaoPlenaria', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('cod_cargo', models.IntegerField()), ('cod_sessao_leg', models.IntegerField()), ('cod_parlamentar', models.IntegerField()), ('cod_sessao_plen', models.IntegerField()), - ('ind_excluido', models.IntegerField(null=True, blank=True)), + ('ind_excluido', models.IntegerField(blank=True, null=True)), ], options={ 'db_table': 'mesa_sessao_plenaria', @@ -545,21 +545,21 @@ class Migration(migrations.Migration): fields=[ ('cod_norma', models.AutoField(serialize=False, primary_key=True)), ('tip_norma', models.IntegerField()), - ('cod_materia', models.IntegerField(null=True, blank=True)), + ('cod_materia', models.IntegerField(blank=True, null=True)), ('num_norma', models.IntegerField()), ('ano_norma', models.SmallIntegerField()), ('tip_esfera_federacao', models.CharField(max_length=1)), - ('dat_norma', models.DateField(null=True, blank=True)), - ('dat_publicacao', models.DateField(null=True, blank=True)), - ('des_veiculo_publicacao', models.CharField(max_length=30, null=True, blank=True)), - ('num_pag_inicio_publ', models.IntegerField(null=True, blank=True)), - ('num_pag_fim_publ', models.IntegerField(null=True, blank=True)), + ('dat_norma', models.DateField(blank=True, null=True)), + ('dat_publicacao', models.DateField(blank=True, null=True)), + ('des_veiculo_publicacao', models.CharField(max_length=30, blank=True, null=True)), + ('num_pag_inicio_publ', models.IntegerField(blank=True, null=True)), + ('num_pag_fim_publ', models.IntegerField(blank=True, null=True)), ('txt_ementa', models.TextField()), - ('txt_indexacao', models.TextField(null=True, blank=True)), - ('txt_observacao', models.TextField(null=True, blank=True)), - ('ind_complemento', models.IntegerField(null=True, blank=True)), + ('txt_indexacao', models.TextField(blank=True, null=True)), + ('txt_observacao', models.TextField(blank=True, null=True)), + ('ind_complemento', models.IntegerField(blank=True, null=True)), ('cod_assunto', models.CharField(max_length=16)), - ('dat_vigencia', models.DateField(null=True, blank=True)), + ('dat_vigencia', models.DateField(blank=True, null=True)), ('timestamp', models.DateTimeField()), ('ind_excluido', models.IntegerField()), ], @@ -571,13 +571,13 @@ class Migration(migrations.Migration): migrations.CreateModel( name='Numeracao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('cod_materia', models.IntegerField()), ('num_ordem', models.IntegerField()), ('tip_materia', models.IntegerField()), ('num_materia', models.CharField(max_length=5)), ('ano_materia', models.SmallIntegerField()), - ('dat_materia', models.DateField(null=True, blank=True)), + ('dat_materia', models.DateField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -588,11 +588,11 @@ class Migration(migrations.Migration): migrations.CreateModel( name='Oradores', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('cod_sessao_plen', models.IntegerField()), ('cod_parlamentar', models.IntegerField()), ('num_ordem', models.IntegerField()), - ('url_discurso', models.CharField(max_length=150, null=True, blank=True)), + ('url_discurso', models.CharField(max_length=150, blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -603,11 +603,11 @@ class Migration(migrations.Migration): migrations.CreateModel( name='OradoresExpediente', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('cod_sessao_plen', models.IntegerField()), ('cod_parlamentar', models.IntegerField()), ('num_ordem', models.IntegerField()), - ('url_discurso', models.CharField(max_length=150, null=True, blank=True)), + ('url_discurso', models.CharField(max_length=150, blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -622,10 +622,10 @@ class Migration(migrations.Migration): ('cod_sessao_plen', models.IntegerField()), ('cod_materia', models.IntegerField()), ('dat_ordem', models.DateField()), - ('txt_observacao', models.TextField(null=True, blank=True)), + ('txt_observacao', models.TextField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ('num_ordem', models.IntegerField()), - ('txt_resultado', models.TextField(null=True, blank=True)), + ('txt_resultado', models.TextField(blank=True, null=True)), ('tip_votacao', models.IntegerField()), ], options={ @@ -654,8 +654,8 @@ class Migration(migrations.Migration): ('nom_orgao', models.CharField(max_length=60)), ('sgl_orgao', models.CharField(max_length=10)), ('ind_unid_deliberativa', models.IntegerField()), - ('end_orgao', models.CharField(max_length=100, null=True, blank=True)), - ('num_tel_orgao', models.CharField(max_length=50, null=True, blank=True)), + ('end_orgao', models.CharField(max_length=100, blank=True, null=True)), + ('num_tel_orgao', models.CharField(max_length=50, blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -679,12 +679,12 @@ class Migration(migrations.Migration): migrations.CreateModel( name='Parecer', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('cod_relatoria', models.IntegerField()), ('cod_materia', models.IntegerField()), - ('tip_conclusao', models.CharField(max_length=3, null=True, blank=True)), + ('tip_conclusao', models.CharField(max_length=3, blank=True, null=True)), ('tip_apresentacao', models.CharField(max_length=1)), - ('txt_parecer', models.TextField(null=True, blank=True)), + ('txt_parecer', models.TextField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -696,30 +696,30 @@ class Migration(migrations.Migration): name='Parlamentar', fields=[ ('cod_parlamentar', models.AutoField(serialize=False, primary_key=True)), - ('cod_nivel_instrucao', models.IntegerField(null=True, blank=True)), - ('tip_situacao_militar', models.IntegerField(null=True, blank=True)), + ('cod_nivel_instrucao', models.IntegerField(blank=True, null=True)), + ('tip_situacao_militar', models.IntegerField(blank=True, null=True)), ('nom_completo', models.CharField(max_length=50)), - ('nom_parlamentar', models.CharField(max_length=50, null=True, blank=True)), + ('nom_parlamentar', models.CharField(max_length=50, blank=True, null=True)), ('sex_parlamentar', models.CharField(max_length=1)), - ('dat_nascimento', models.DateField(null=True, blank=True)), - ('num_cpf', models.CharField(max_length=14, null=True, blank=True)), - ('num_rg', models.CharField(max_length=15, null=True, blank=True)), - ('num_tit_eleitor', models.CharField(max_length=15, null=True, blank=True)), + ('dat_nascimento', models.DateField(blank=True, null=True)), + ('num_cpf', models.CharField(max_length=14, blank=True, null=True)), + ('num_rg', models.CharField(max_length=15, blank=True, null=True)), + ('num_tit_eleitor', models.CharField(max_length=15, blank=True, null=True)), ('cod_casa', models.IntegerField()), - ('num_gab_parlamentar', models.CharField(max_length=10, null=True, blank=True)), - ('num_tel_parlamentar', models.CharField(max_length=50, null=True, blank=True)), - ('num_fax_parlamentar', models.CharField(max_length=50, null=True, blank=True)), - ('end_residencial', models.CharField(max_length=100, null=True, blank=True)), - ('cod_localidade_resid', models.IntegerField(null=True, blank=True)), - ('num_cep_resid', models.CharField(max_length=9, null=True, blank=True)), - ('num_tel_resid', models.CharField(max_length=50, null=True, blank=True)), - ('num_fax_resid', models.CharField(max_length=50, null=True, blank=True)), - ('end_web', models.CharField(max_length=100, null=True, blank=True)), - ('nom_profissao', models.CharField(max_length=50, null=True, blank=True)), - ('end_email', models.CharField(max_length=100, null=True, blank=True)), - ('des_local_atuacao', models.CharField(max_length=100, null=True, blank=True)), + ('num_gab_parlamentar', models.CharField(max_length=10, blank=True, null=True)), + ('num_tel_parlamentar', models.CharField(max_length=50, blank=True, null=True)), + ('num_fax_parlamentar', models.CharField(max_length=50, blank=True, null=True)), + ('end_residencial', models.CharField(max_length=100, blank=True, null=True)), + ('cod_localidade_resid', models.IntegerField(blank=True, null=True)), + ('num_cep_resid', models.CharField(max_length=9, blank=True, null=True)), + ('num_tel_resid', models.CharField(max_length=50, blank=True, null=True)), + ('num_fax_resid', models.CharField(max_length=50, blank=True, null=True)), + ('end_web', models.CharField(max_length=100, blank=True, null=True)), + ('nom_profissao', models.CharField(max_length=50, blank=True, null=True)), + ('end_email', models.CharField(max_length=100, blank=True, null=True)), + ('des_local_atuacao', models.CharField(max_length=100, blank=True, null=True)), ('ind_ativo', models.IntegerField()), - ('txt_biografia', models.TextField(null=True, blank=True)), + ('txt_biografia', models.TextField(blank=True, null=True)), ('ind_unid_deliberativa', models.IntegerField()), ('ind_excluido', models.IntegerField()), ], @@ -734,8 +734,8 @@ class Migration(migrations.Migration): ('cod_partido', models.AutoField(serialize=False, primary_key=True)), ('sgl_partido', models.CharField(max_length=9)), ('nom_partido', models.CharField(max_length=50)), - ('dat_criacao', models.DateField(null=True, blank=True)), - ('dat_extincao', models.DateField(null=True, blank=True)), + ('dat_criacao', models.DateField(blank=True, null=True)), + ('dat_extincao', models.DateField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -748,7 +748,7 @@ class Migration(migrations.Migration): fields=[ ('cod_periodo_comp', models.AutoField(serialize=False, primary_key=True)), ('dat_inicio_periodo', models.DateField()), - ('dat_fim_periodo', models.DateField(null=True, blank=True)), + ('dat_fim_periodo', models.DateField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -760,16 +760,16 @@ class Migration(migrations.Migration): name='Proposicao', fields=[ ('cod_proposicao', models.AutoField(serialize=False, primary_key=True)), - ('cod_materia', models.IntegerField(null=True, blank=True)), + ('cod_materia', models.IntegerField(blank=True, null=True)), ('cod_autor', models.IntegerField()), ('tip_proposicao', models.IntegerField()), ('dat_envio', models.DateTimeField()), - ('dat_recebimento', models.DateTimeField(null=True, blank=True)), + ('dat_recebimento', models.DateTimeField(blank=True, null=True)), ('txt_descricao', models.CharField(max_length=100)), - ('cod_mat_ou_doc', models.IntegerField(null=True, blank=True)), - ('dat_devolucao', models.DateTimeField(null=True, blank=True)), - ('txt_justif_devolucao', models.CharField(max_length=200, null=True, blank=True)), - ('num_proposicao', models.IntegerField(null=True, blank=True)), + ('cod_mat_ou_doc', models.IntegerField(blank=True, null=True)), + ('dat_devolucao', models.DateTimeField(blank=True, null=True)), + ('txt_justif_devolucao', models.CharField(max_length=200, blank=True, null=True)), + ('num_proposicao', models.IntegerField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -781,25 +781,25 @@ class Migration(migrations.Migration): name='Protocolo', fields=[ ('cod_protocolo', models.AutoField(serialize=False, primary_key=True)), - ('num_protocolo', models.IntegerField(null=True, blank=True)), + ('num_protocolo', models.IntegerField(blank=True, null=True)), ('ano_protocolo', models.SmallIntegerField()), ('dat_protocolo', models.DateField()), ('hor_protocolo', models.TimeField()), ('dat_timestamp', models.DateTimeField()), ('tip_protocolo', models.IntegerField()), ('tip_processo', models.IntegerField()), - ('txt_interessado', models.CharField(max_length=60, null=True, blank=True)), - ('cod_autor', models.IntegerField(null=True, blank=True)), - ('txt_assunto_ementa', models.TextField(null=True, blank=True)), - ('tip_documento', models.IntegerField(null=True, blank=True)), - ('tip_materia', models.IntegerField(null=True, blank=True)), - ('num_paginas', models.IntegerField(null=True, blank=True)), - ('txt_observacao', models.TextField(null=True, blank=True)), + ('txt_interessado', models.CharField(max_length=60, blank=True, null=True)), + ('cod_autor', models.IntegerField(blank=True, null=True)), + ('txt_assunto_ementa', models.TextField(blank=True, null=True)), + ('tip_documento', models.IntegerField(blank=True, null=True)), + ('tip_materia', models.IntegerField(blank=True, null=True)), + ('num_paginas', models.IntegerField(blank=True, null=True)), + ('txt_observacao', models.TextField(blank=True, null=True)), ('ind_anulado', models.IntegerField()), - ('txt_user_anulacao', models.CharField(max_length=20, null=True, blank=True)), - ('txt_ip_anulacao', models.CharField(max_length=15, null=True, blank=True)), - ('txt_just_anulacao', models.CharField(max_length=60, null=True, blank=True)), - ('timestamp_anulacao', models.DateTimeField(null=True, blank=True)), + ('txt_user_anulacao', models.CharField(max_length=20, blank=True, null=True)), + ('txt_ip_anulacao', models.CharField(max_length=15, blank=True, null=True)), + ('txt_just_anulacao', models.CharField(max_length=60, blank=True, null=True)), + ('timestamp_anulacao', models.DateTimeField(blank=True, null=True)), ], options={ 'db_table': 'protocolo', @@ -828,7 +828,7 @@ class Migration(migrations.Migration): ('num_votos_sim', models.IntegerField()), ('num_votos_nao', models.IntegerField()), ('num_abstencao', models.IntegerField()), - ('txt_observacao', models.TextField(null=True, blank=True)), + ('txt_observacao', models.TextField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -839,7 +839,7 @@ class Migration(migrations.Migration): migrations.CreateModel( name='RegistroVotacaoParlamentar', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('cod_votacao', models.IntegerField()), ('cod_parlamentar', models.IntegerField()), ('ind_excluido', models.IntegerField()), @@ -856,10 +856,10 @@ class Migration(migrations.Migration): ('cod_relatoria', models.AutoField(serialize=False, primary_key=True)), ('cod_materia', models.IntegerField()), ('cod_parlamentar', models.IntegerField()), - ('tip_fim_relatoria', models.IntegerField(null=True, blank=True)), - ('cod_comissao', models.IntegerField(null=True, blank=True)), + ('tip_fim_relatoria', models.IntegerField(blank=True, null=True)), + ('cod_comissao', models.IntegerField(blank=True, null=True)), ('dat_desig_relator', models.DateField()), - ('dat_destit_relator', models.DateField(null=True, blank=True)), + ('dat_destit_relator', models.DateField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -876,8 +876,8 @@ class Migration(migrations.Migration): ('tip_sessao_leg', models.CharField(max_length=1)), ('dat_inicio', models.DateField()), ('dat_fim', models.DateField()), - ('dat_inicio_intervalo', models.DateField(null=True, blank=True)), - ('dat_fim_intervalo', models.DateField(null=True, blank=True)), + ('dat_inicio_intervalo', models.DateField(blank=True, null=True)), + ('dat_fim_intervalo', models.DateField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -889,7 +889,7 @@ class Migration(migrations.Migration): name='SessaoPlenaria', fields=[ ('cod_sessao_plen', models.AutoField(serialize=False, primary_key=True)), - ('cod_andamento_sessao', models.IntegerField(null=True, blank=True)), + ('cod_andamento_sessao', models.IntegerField(blank=True, null=True)), ('tip_sessao', models.IntegerField()), ('cod_sessao_leg', models.IntegerField()), ('num_legislatura', models.IntegerField()), @@ -897,11 +897,11 @@ class Migration(migrations.Migration): ('dat_inicio_sessao', models.DateField()), ('dia_sessao', models.CharField(max_length=15)), ('hr_inicio_sessao', models.CharField(max_length=5)), - ('hr_fim_sessao', models.CharField(max_length=5, null=True, blank=True)), + ('hr_fim_sessao', models.CharField(max_length=5, blank=True, null=True)), ('num_sessao_plen', models.IntegerField()), - ('dat_fim_sessao', models.DateField(null=True, blank=True)), - ('url_audio', models.CharField(max_length=150, null=True, blank=True)), - ('url_video', models.CharField(max_length=150, null=True, blank=True)), + ('dat_fim_sessao', models.DateField(blank=True, null=True)), + ('url_audio', models.CharField(max_length=150, blank=True, null=True)), + ('url_video', models.CharField(max_length=150, blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -915,7 +915,7 @@ class Migration(migrations.Migration): ('cod_presenca_sessao', models.AutoField(serialize=False, primary_key=True)), ('cod_sessao_plen', models.IntegerField()), ('cod_parlamentar', models.IntegerField()), - ('dat_sessao', models.DateField(null=True, blank=True)), + ('dat_sessao', models.DateField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -972,7 +972,7 @@ class Migration(migrations.Migration): ('des_afastamento', models.CharField(max_length=50)), ('ind_afastamento', models.IntegerField()), ('ind_fim_mandato', models.IntegerField()), - ('des_dispositivo', models.CharField(max_length=50, null=True, blank=True)), + ('des_dispositivo', models.CharField(max_length=50, blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -999,7 +999,7 @@ class Migration(migrations.Migration): ('nom_tipo_comissao', models.CharField(max_length=50)), ('sgl_natureza_comissao', models.CharField(max_length=1)), ('sgl_tipo_comissao', models.CharField(max_length=10)), - ('des_dispositivo_regimental', models.CharField(max_length=50, null=True, blank=True)), + ('des_dispositivo_regimental', models.CharField(max_length=50, blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -1087,7 +1087,7 @@ class Migration(migrations.Migration): name='TipoNormaJuridica', fields=[ ('tip_norma', models.AutoField(serialize=False, primary_key=True)), - ('voc_lexml', models.CharField(max_length=50, null=True, blank=True)), + ('voc_lexml', models.CharField(max_length=50, blank=True, null=True)), ('sgl_tipo_norma', models.CharField(max_length=3)), ('des_tipo_norma', models.CharField(max_length=50)), ('ind_excluido', models.IntegerField()), @@ -1141,17 +1141,17 @@ class Migration(migrations.Migration): name='Tramitacao', fields=[ ('cod_tramitacao', models.AutoField(serialize=False, primary_key=True)), - ('cod_status', models.IntegerField(null=True, blank=True)), + ('cod_status', models.IntegerField(blank=True, null=True)), ('cod_materia', models.IntegerField()), - ('dat_tramitacao', models.DateField(null=True, blank=True)), - ('cod_unid_tram_local', models.IntegerField(null=True, blank=True)), - ('dat_encaminha', models.DateField(null=True, blank=True)), - ('cod_unid_tram_dest', models.IntegerField(null=True, blank=True)), + ('dat_tramitacao', models.DateField(blank=True, null=True)), + ('cod_unid_tram_local', models.IntegerField(blank=True, null=True)), + ('dat_encaminha', models.DateField(blank=True, null=True)), + ('cod_unid_tram_dest', models.IntegerField(blank=True, null=True)), ('ind_ult_tramitacao', models.IntegerField()), ('ind_urgencia', models.IntegerField()), - ('sgl_turno', models.CharField(max_length=1, null=True, blank=True)), - ('txt_tramitacao', models.TextField(null=True, blank=True)), - ('dat_fim_prazo', models.DateField(null=True, blank=True)), + ('sgl_turno', models.CharField(max_length=1, blank=True, null=True)), + ('txt_tramitacao', models.TextField(blank=True, null=True)), + ('dat_fim_prazo', models.DateField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -1164,14 +1164,14 @@ class Migration(migrations.Migration): fields=[ ('cod_tramitacao', models.AutoField(serialize=False, primary_key=True)), ('cod_documento', models.IntegerField()), - ('dat_tramitacao', models.DateField(null=True, blank=True)), - ('cod_unid_tram_local', models.IntegerField(null=True, blank=True)), - ('dat_encaminha', models.DateField(null=True, blank=True)), - ('cod_unid_tram_dest', models.IntegerField(null=True, blank=True)), - ('cod_status', models.IntegerField(null=True, blank=True)), + ('dat_tramitacao', models.DateField(blank=True, null=True)), + ('cod_unid_tram_local', models.IntegerField(blank=True, null=True)), + ('dat_encaminha', models.DateField(blank=True, null=True)), + ('cod_unid_tram_dest', models.IntegerField(blank=True, null=True)), + ('cod_status', models.IntegerField(blank=True, null=True)), ('ind_ult_tramitacao', models.IntegerField()), - ('txt_tramitacao', models.TextField(null=True, blank=True)), - ('dat_fim_prazo', models.DateField(null=True, blank=True)), + ('txt_tramitacao', models.TextField(blank=True, null=True)), + ('dat_fim_prazo', models.DateField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -1183,9 +1183,9 @@ class Migration(migrations.Migration): name='UnidadeTramitacao', fields=[ ('cod_unid_tramitacao', models.AutoField(serialize=False, primary_key=True)), - ('cod_comissao', models.IntegerField(null=True, blank=True)), - ('cod_orgao', models.IntegerField(null=True, blank=True)), - ('cod_parlamentar', models.IntegerField(null=True, blank=True)), + ('cod_comissao', models.IntegerField(blank=True, null=True)), + ('cod_orgao', models.IntegerField(blank=True, null=True)), + ('cod_parlamentar', models.IntegerField(blank=True, null=True)), ('ind_excluido', models.IntegerField()), ], options={ @@ -1199,7 +1199,7 @@ class Migration(migrations.Migration): ('cod_vinculo', models.AutoField(serialize=False, primary_key=True)), ('cod_norma_referente', models.IntegerField()), ('cod_norma_referida', models.IntegerField()), - ('tip_vinculo', models.CharField(max_length=1, null=True, blank=True)), + ('tip_vinculo', models.CharField(max_length=1, blank=True, null=True)), ('ind_excluido', models.CharField(max_length=1)), ], options={ diff --git a/lexml/migrations/0001_initial.py b/lexml/migrations/0001_initial.py index 0f7fffb01..8f1b169f9 100644 --- a/lexml/migrations/0001_initial.py +++ b/lexml/migrations/0001_initial.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- - +from __future__ import unicode_literals from django.db import models, migrations @@ -13,15 +13,15 @@ class Migration(migrations.Migration): migrations.CreateModel( name='LexmlProvedor', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('id_provedor', models.IntegerField(verbose_name='Id do provedor')), ('nome', models.CharField(max_length=255, verbose_name='Nome do provedor')), ('sigla', models.CharField(max_length=15)), - ('email_responsavel', models.CharField(max_length=50, null=True, verbose_name='E-mail do respons\xe1vel', blank=True)), - ('nome_responsavel', models.CharField(max_length=255, null=True, verbose_name='Nome do respons\xe1vel', blank=True)), + ('email_responsavel', models.CharField(max_length=50, blank=True, verbose_name='E-mail do responsável', null=True)), + ('nome_responsavel', models.CharField(max_length=255, blank=True, verbose_name='Nome do responsável', null=True)), ('tipo', models.CharField(max_length=50)), - ('id_responsavel', models.IntegerField(null=True, verbose_name='Id do respons\xe1vel', blank=True)), - ('xml', models.TextField(null=True, verbose_name='XML fornecido pela equipe do LexML:', blank=True)), + ('id_responsavel', models.IntegerField(blank=True, verbose_name='Id do responsável', null=True)), + ('xml', models.TextField(blank=True, verbose_name='XML fornecido pela equipe do LexML:', null=True)), ], options={ 'verbose_name': 'Provedor Lexml', @@ -31,14 +31,14 @@ class Migration(migrations.Migration): migrations.CreateModel( name='LexmlPublicador', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('id_publicador', models.IntegerField(verbose_name='Id do publicador')), ('nome', models.CharField(max_length=255, verbose_name='Nome do publicador')), - ('email_responsavel', models.CharField(max_length=50, null=True, verbose_name='E-mail do respons\xe1vel', blank=True)), - ('sigla', models.CharField(max_length=255, null=True, verbose_name='Sigla do Publicador', blank=True)), - ('nome_responsavel', models.CharField(max_length=255, null=True, verbose_name='Nome do respons\xe1vel', blank=True)), + ('email_responsavel', models.CharField(max_length=50, blank=True, verbose_name='E-mail do responsável', null=True)), + ('sigla', models.CharField(max_length=255, blank=True, verbose_name='Sigla do Publicador', null=True)), + ('nome_responsavel', models.CharField(max_length=255, blank=True, verbose_name='Nome do responsável', null=True)), ('tipo', models.CharField(max_length=50)), - ('id_responsavel', models.IntegerField(verbose_name='Id do respons\xe1vel')), + ('id_responsavel', models.IntegerField(verbose_name='Id do responsável')), ], options={ 'verbose_name': 'Publicador Lexml', diff --git a/materia/migrations/0001_initial.py b/materia/migrations/0001_initial.py index f40ed6e0a..abe0598c1 100644 --- a/materia/migrations/0001_initial.py +++ b/materia/migrations/0001_initial.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- - +from __future__ import unicode_literals from django.db import models, migrations @@ -15,21 +15,21 @@ class Migration(migrations.Migration): migrations.CreateModel( name='AcompanhamentoMateria', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('email', models.CharField(max_length=100, verbose_name='Endere\xe7o de E-mail')), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('email', models.CharField(max_length=100, verbose_name='Endereço de E-mail')), ('hash', models.CharField(max_length=8)), ], options={ - 'verbose_name': 'Acompanhamento de Mat\xe9ria', - 'verbose_name_plural': 'Acompanhamentos de Mat\xe9ria', + 'verbose_name': 'Acompanhamento de Matéria', + 'verbose_name_plural': 'Acompanhamentos de Matéria', }, ), migrations.CreateModel( name='Anexada', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_anexacao', models.DateField(verbose_name='Data Anexa\xe7\xe3o')), - ('data_desanexacao', models.DateField(null=True, verbose_name='Data Desanexa\xe7\xe3o', blank=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('data_anexacao', models.DateField(verbose_name='Data Anexação')), + ('data_desanexacao', models.DateField(blank=True, verbose_name='Data Desanexação', null=True)), ], options={ 'verbose_name': 'Anexada', @@ -39,25 +39,25 @@ class Migration(migrations.Migration): migrations.CreateModel( name='AssuntoMateria', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('assunto', models.CharField(max_length=200)), ('dispositivo', models.CharField(max_length=50)), ], options={ - 'verbose_name': 'Assunto de Mat\xe9ria', - 'verbose_name_plural': 'Assuntos de Mat\xe9ria', + 'verbose_name': 'Assunto de Matéria', + 'verbose_name_plural': 'Assuntos de Matéria', }, ), migrations.CreateModel( name='Autor', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nome', models.CharField(max_length=50, null=True, verbose_name='Autor', blank=True)), - ('cargo', models.CharField(max_length=50, null=True, blank=True)), - ('username', models.CharField(max_length=50, null=True, blank=True)), - ('comissao', models.ForeignKey(blank=True, to='comissoes.Comissao', null=True)), - ('parlamentar', models.ForeignKey(blank=True, to='parlamentares.Parlamentar', null=True)), - ('partido', models.ForeignKey(blank=True, to='parlamentares.Partido', null=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('nome', models.CharField(max_length=50, blank=True, verbose_name='Autor', null=True)), + ('cargo', models.CharField(max_length=50, blank=True, null=True)), + ('username', models.CharField(max_length=50, blank=True, null=True)), + ('comissao', models.ForeignKey(to='comissoes.Comissao', blank=True, null=True)), + ('parlamentar', models.ForeignKey(to='parlamentares.Parlamentar', blank=True, null=True)), + ('partido', models.ForeignKey(to='parlamentares.Partido', blank=True, null=True)), ], options={ 'verbose_name': 'Autor', @@ -67,7 +67,7 @@ class Migration(migrations.Migration): migrations.CreateModel( name='Autoria', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('primeiro_autor', models.BooleanField(verbose_name='Primeiro Autor')), ('autor', models.ForeignKey(to='materia.Autor')), ], @@ -79,7 +79,7 @@ class Migration(migrations.Migration): migrations.CreateModel( name='DespachoInicial', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('numero_ordem', models.IntegerField()), ('comissao', models.ForeignKey(to='comissoes.Comissao')), ], @@ -91,94 +91,94 @@ class Migration(migrations.Migration): migrations.CreateModel( name='DocumentoAcessorio', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nome', models.CharField(max_length=30, verbose_name='Descri\xe7\xe3o')), - ('data', models.DateField(null=True, verbose_name='Data', blank=True)), - ('autor', models.CharField(max_length=50, null=True, verbose_name='Autor', blank=True)), - ('ementa', models.TextField(null=True, verbose_name='Ementa', blank=True)), - ('indexacao', models.TextField(null=True, blank=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('nome', models.CharField(max_length=30, verbose_name='Descrição')), + ('data', models.DateField(blank=True, verbose_name='Data', null=True)), + ('autor', models.CharField(max_length=50, blank=True, verbose_name='Autor', null=True)), + ('ementa', models.TextField(blank=True, verbose_name='Ementa', null=True)), + ('indexacao', models.TextField(blank=True, null=True)), ], options={ - 'verbose_name': 'Documento Acess\xf3rio', - 'verbose_name_plural': 'Documentos Acess\xf3rios', + 'verbose_name': 'Documento Acessório', + 'verbose_name_plural': 'Documentos Acessórios', }, ), migrations.CreateModel( name='MateriaAssunto', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('assunto', models.ForeignKey(to='materia.AssuntoMateria')), ], options={ - 'verbose_name': 'Rela\xe7\xe3o Mat\xe9ria - Assunto', - 'verbose_name_plural': 'Rela\xe7\xf5es Mat\xe9ria - Assunto', + 'verbose_name': 'Relação Matéria - Assunto', + 'verbose_name_plural': 'Relações Matéria - Assunto', }, ), migrations.CreateModel( name='MateriaLegislativa', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('numero_protocolo', models.IntegerField(null=True, verbose_name='N\xfam. Protocolo', blank=True)), - ('numero_ident_basica', models.IntegerField(verbose_name='N\xfamero')), - ('ano_ident_basica', models.SmallIntegerField(verbose_name='Ano')), - ('data_apresentacao', models.DateField(null=True, verbose_name='Data Apresenta\xe7\xe3o', blank=True)), - ('tipo_apresentacao', models.CharField(blank=True, max_length=1, null=True, verbose_name='Tipo de Apresenta\xe7\xe3o', choices=[(b'O', 'Oral'), (b'E', 'Escrita')])), - ('data_publicacao', models.DateField(null=True, verbose_name='Data Publica\xe7\xe3o', blank=True)), - ('numero_origem_externa', models.CharField(max_length=5, null=True, verbose_name='N\xfamero', blank=True)), - ('ano_origem_externa', models.SmallIntegerField(null=True, verbose_name='Ano', blank=True)), - ('data_origem_externa', models.DateField(null=True, verbose_name='Data', blank=True)), - ('apelido', models.CharField(max_length=50, null=True, verbose_name='Apelido', blank=True)), - ('dias_prazo', models.IntegerField(null=True, verbose_name='Dias Prazo', blank=True)), - ('data_fim_prazo', models.DateField(null=True, verbose_name='Data Fim Prazo', blank=True)), - ('em_tramitacao', models.BooleanField(verbose_name='Em Tramita\xe7\xe3o?')), - ('polemica', models.NullBooleanField(verbose_name='Mat\xe9ria Pol\xeamica?')), - ('objeto', models.CharField(max_length=150, null=True, verbose_name='Objeto', blank=True)), - ('complementar', models.NullBooleanField(verbose_name='\xc9 Complementar?')), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('numero', models.IntegerField(verbose_name='Número')), + ('ano', models.SmallIntegerField(verbose_name='Ano')), + ('numero_protocolo', models.IntegerField(blank=True, verbose_name='Núm. Protocolo', null=True)), + ('data_apresentacao', models.DateField(blank=True, verbose_name='Data Apresentação', null=True)), + ('tipo_apresentacao', models.CharField(max_length=1, choices=[('O', 'Oral'), ('E', 'Escrita')], blank=True, verbose_name='Tipo de Apresentação', null=True)), + ('data_publicacao', models.DateField(blank=True, verbose_name='Data Publicação', null=True)), + ('numero_origem_externa', models.CharField(max_length=5, blank=True, verbose_name='Número', null=True)), + ('ano_origem_externa', models.SmallIntegerField(blank=True, verbose_name='Ano', null=True)), + ('data_origem_externa', models.DateField(blank=True, verbose_name='Data', null=True)), + ('apelido', models.CharField(max_length=50, blank=True, verbose_name='Apelido', null=True)), + ('dias_prazo', models.IntegerField(blank=True, verbose_name='Dias Prazo', null=True)), + ('data_fim_prazo', models.DateField(blank=True, verbose_name='Data Fim Prazo', null=True)), + ('em_tramitacao', models.BooleanField(verbose_name='Em Tramitação?')), + ('polemica', models.NullBooleanField(verbose_name='Matéria Polêmica?')), + ('objeto', models.CharField(max_length=150, blank=True, verbose_name='Objeto', null=True)), + ('complementar', models.NullBooleanField(verbose_name='É Complementar?')), ('ementa', models.TextField(verbose_name='Ementa')), - ('indexacao', models.TextField(null=True, verbose_name='Indexa\xe7\xe3o', blank=True)), - ('observacao', models.TextField(null=True, verbose_name='Observa\xe7\xe3o', blank=True)), - ('resultado', models.TextField(null=True, blank=True)), - ('anexadas', models.ManyToManyField(related_name='anexo_de', through='materia.Anexada', to='materia.MateriaLegislativa')), + ('indexacao', models.TextField(blank=True, verbose_name='Indexação', null=True)), + ('observacao', models.TextField(blank=True, verbose_name='Observação', null=True)), + ('resultado', models.TextField(blank=True, null=True)), + ('anexadas', models.ManyToManyField(to='materia.MateriaLegislativa', through='materia.Anexada', related_name='anexo_de')), ], options={ - 'verbose_name': 'Mat\xe9ria Legislativa', - 'verbose_name_plural': 'Mat\xe9rias Legislativas', + 'verbose_name': 'Matéria Legislativa', + 'verbose_name_plural': 'Matérias Legislativas', }, ), migrations.CreateModel( name='Numeracao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('numero_ordem', models.IntegerField()), - ('numero_materia', models.CharField(max_length=5, verbose_name='N\xfamero')), + ('numero_materia', models.CharField(max_length=5, verbose_name='Número')), ('ano_materia', models.SmallIntegerField(verbose_name='Ano')), - ('data_materia', models.DateField(null=True, verbose_name='Data', blank=True)), + ('data_materia', models.DateField(blank=True, verbose_name='Data', null=True)), ('materia', models.ForeignKey(to='materia.MateriaLegislativa')), ], options={ - 'verbose_name': 'Numera\xe7\xe3o', - 'verbose_name_plural': 'Numera\xe7\xf5es', + 'verbose_name': 'Numeração', + 'verbose_name_plural': 'Numerações', }, ), migrations.CreateModel( name='Orgao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('nome', models.CharField(max_length=60, verbose_name='Nome')), ('sigla', models.CharField(max_length=10, verbose_name='Sigla')), ('unidade_deliberativa', models.BooleanField(verbose_name='Unidade Deliberativa')), - ('endereco', models.CharField(max_length=100, null=True, verbose_name='Endere\xe7o', blank=True)), - ('telefone', models.CharField(max_length=50, null=True, verbose_name='Telefone', blank=True)), + ('endereco', models.CharField(max_length=100, blank=True, verbose_name='Endereço', null=True)), + ('telefone', models.CharField(max_length=50, blank=True, verbose_name='Telefone', null=True)), ], options={ - 'verbose_name': '\xd3rg\xe3o', - 'verbose_name_plural': '\xd3rg\xe3os', + 'verbose_name': 'Órgão', + 'verbose_name_plural': 'Órgãos', }, ), migrations.CreateModel( name='Origem', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('sigla', models.CharField(max_length=10, verbose_name='Sigla')), ('nome', models.CharField(max_length=50, verbose_name='Nome')), ], @@ -190,10 +190,10 @@ class Migration(migrations.Migration): migrations.CreateModel( name='Parecer', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('tipo_conclusao', models.CharField(max_length=3, null=True, blank=True)), - ('tipo_apresentacao', models.CharField(max_length=1, choices=[(b'O', 'Oral'), (b'E', 'Escrita')])), - ('parecer', models.TextField(null=True, blank=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('tipo_conclusao', models.CharField(max_length=3, blank=True, null=True)), + ('tipo_apresentacao', models.CharField(max_length=1, choices=[('O', 'Oral'), ('E', 'Escrita')])), + ('parecer', models.TextField(blank=True, null=True)), ('materia', models.ForeignKey(to='materia.MateriaLegislativa')), ], options={ @@ -204,42 +204,42 @@ class Migration(migrations.Migration): migrations.CreateModel( name='Proposicao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_envio', models.DateTimeField(null=True, verbose_name='Data de Envio')), - ('data_recebimento', models.DateTimeField(null=True, verbose_name='Data de Incorpora\xe7\xe3o', blank=True)), - ('descricao', models.CharField(max_length=100, verbose_name='Descri\xe7\xe3o')), - ('data_devolucao', models.DateTimeField(null=True, verbose_name='Data de devolu\xe7\xe3o', blank=True)), - ('justificativa_devolucao', models.CharField(max_length=200, null=True, verbose_name='Justificativa da Devolu\xe7\xe3o', blank=True)), - ('numero_proposicao', models.IntegerField(null=True, verbose_name='', blank=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('data_envio', models.DateTimeField(verbose_name='Data de Envio', null=True)), + ('data_recebimento', models.DateTimeField(blank=True, verbose_name='Data de Incorporação', null=True)), + ('descricao', models.CharField(max_length=100, verbose_name='Descrição')), + ('data_devolucao', models.DateTimeField(blank=True, verbose_name='Data de devolução', null=True)), + ('justificativa_devolucao', models.CharField(max_length=200, blank=True, verbose_name='Justificativa da Devolução', null=True)), + ('numero_proposicao', models.IntegerField(blank=True, verbose_name='', null=True)), ('autor', models.ForeignKey(to='materia.Autor')), - ('documento', models.ForeignKey(verbose_name='Documento', blank=True, to='materia.DocumentoAcessorio', null=True)), - ('materia', models.ForeignKey(verbose_name='Mat\xe9ria', blank=True, to='materia.MateriaLegislativa', null=True)), + ('documento', models.ForeignKey(to='materia.DocumentoAcessorio', blank=True, null=True, verbose_name='Documento')), + ('materia', models.ForeignKey(to='materia.MateriaLegislativa', blank=True, null=True, verbose_name='Matéria')), ], options={ - 'verbose_name': 'Proposi\xe7\xe3o', - 'verbose_name_plural': 'Proposi\xe7\xf5es', + 'verbose_name': 'Proposição', + 'verbose_name_plural': 'Proposições', }, ), migrations.CreateModel( name='RegimeTramitacao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('descricao', models.CharField(max_length=50)), ], options={ - 'verbose_name': 'Regime Tramita\xe7\xe3o', - 'verbose_name_plural': 'Regimes Tramita\xe7\xe3o', + 'verbose_name': 'Regime Tramitação', + 'verbose_name_plural': 'Regimes Tramitação', }, ), migrations.CreateModel( name='Relatoria', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_designacao_relator', models.DateField(verbose_name='Data Designa\xe7\xe3o')), - ('data_destituicao_relator', models.DateField(null=True, verbose_name='Data Destitui\xe7\xe3o', blank=True)), - ('comissao', models.ForeignKey(verbose_name='Localiza\xe7\xe3o Atual', blank=True, to='comissoes.Comissao', null=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('data_designacao_relator', models.DateField(verbose_name='Data Designação')), + ('data_destituicao_relator', models.DateField(blank=True, verbose_name='Data Destituição', null=True)), + ('comissao', models.ForeignKey(to='comissoes.Comissao', blank=True, null=True, verbose_name='Localização Atual')), ('materia', models.ForeignKey(to='materia.MateriaLegislativa')), - ('parlamentar', models.ForeignKey(verbose_name='Parlamentar', to='parlamentares.Parlamentar')), + ('parlamentar', models.ForeignKey(to='parlamentares.Parlamentar', verbose_name='Parlamentar')), ], options={ 'verbose_name': 'Relatoria', @@ -249,21 +249,21 @@ class Migration(migrations.Migration): migrations.CreateModel( name='StatusTramitacao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('sigla', models.CharField(max_length=10, verbose_name='Sigla')), - ('descricao', models.CharField(max_length=60, verbose_name='Descri\xe7\xe3o')), - ('indicador', models.CharField(max_length=1, verbose_name='Indicador da Tramita\xe7\xe3o', choices=[(b'F', 'Fim'), (b'R', 'Retorno')])), + ('descricao', models.CharField(max_length=60, verbose_name='Descrição')), + ('indicador', models.CharField(max_length=1, choices=[('F', 'Fim'), ('R', 'Retorno')], verbose_name='Indicador da Tramitação')), ], options={ - 'verbose_name': 'Status de Tramita\xe7\xe3o', - 'verbose_name_plural': 'Status de Tramita\xe7\xe3o', + 'verbose_name': 'Status de Tramitação', + 'verbose_name_plural': 'Status de Tramitação', }, ), migrations.CreateModel( name='TipoAutor', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('descricao', models.CharField(max_length=50, verbose_name='Descri\xe7\xe3o')), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('descricao', models.CharField(max_length=50, verbose_name='Descrição')), ], options={ 'verbose_name': 'Tipo de Autor', @@ -273,7 +273,7 @@ class Migration(migrations.Migration): migrations.CreateModel( name='TipoDocumento', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('descricao', models.CharField(max_length=50, verbose_name='Tipo Documento')), ], options={ @@ -284,7 +284,7 @@ class Migration(migrations.Migration): migrations.CreateModel( name='TipoFimRelatoria', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('descricao', models.CharField(max_length=50, verbose_name='Tipo Fim Relatoria')), ], options={ @@ -295,83 +295,83 @@ class Migration(migrations.Migration): migrations.CreateModel( name='TipoMateriaLegislativa', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('sigla', models.CharField(max_length=5, verbose_name='Sigla')), - ('descricao', models.CharField(max_length=50, verbose_name='Descri\xe7\xe3o ')), + ('descricao', models.CharField(max_length=50, verbose_name='Descrição ')), ('num_automatica', models.BooleanField()), ('quorum_minimo_votacao', models.IntegerField()), ], options={ - 'verbose_name': 'Tipo de Mat\xe9ria Legislativa', - 'verbose_name_plural': 'Tipos de Mat\xe9rias Legislativas', + 'verbose_name': 'Tipo de Matéria Legislativa', + 'verbose_name_plural': 'Tipos de Matérias Legislativas', }, ), migrations.CreateModel( name='TipoProposicao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('descricao', models.CharField(max_length=50, verbose_name='Descri\xe7\xe3o')), - ('materia_ou_documento', models.CharField(max_length=1, verbose_name='Gera', choices=[(b'M', 'Mat\xe9ria'), (b'D', 'Documento')])), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('descricao', models.CharField(max_length=50, verbose_name='Descrição')), + ('materia_ou_documento', models.CharField(max_length=1, choices=[('M', 'Matéria'), ('D', 'Documento')], verbose_name='Gera')), ('modelo', models.CharField(max_length=50, verbose_name='Modelo XML')), - ('tipo_documento', models.ForeignKey(verbose_name='Tipo Documento', blank=True, to='materia.TipoDocumento', null=True)), - ('tipo_materia', models.ForeignKey(verbose_name='Tipo Mat\xe9ria', blank=True, to='materia.TipoMateriaLegislativa', null=True)), + ('tipo_documento', models.ForeignKey(to='materia.TipoDocumento', blank=True, null=True, verbose_name='Tipo Documento')), + ('tipo_materia', models.ForeignKey(to='materia.TipoMateriaLegislativa', blank=True, null=True, verbose_name='Tipo Matéria')), ], options={ - 'verbose_name': 'Tipo de Proposi\xe7\xe3o', - 'verbose_name_plural': 'Tipos de Proposi\xe7\xf5es', + 'verbose_name': 'Tipo de Proposição', + 'verbose_name_plural': 'Tipos de Proposições', }, ), migrations.CreateModel( name='Tramitacao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_tramitacao', models.DateField(null=True, verbose_name='Data Tramita\xe7\xe3o', blank=True)), - ('data_encaminhamento', models.DateField(null=True, verbose_name='Data Encaminhamento', blank=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('data_tramitacao', models.DateField(blank=True, verbose_name='Data Tramitação', null=True)), + ('data_encaminhamento', models.DateField(blank=True, verbose_name='Data Encaminhamento', null=True)), ('ultima', models.BooleanField()), ('urgente', models.BooleanField(verbose_name='Urgente ?')), - ('turno', models.CharField(blank=True, max_length=1, null=True, verbose_name='Turno', choices=[(b'P', 'Primeiro'), (b'S', 'Segundo'), (b'\xc3\x9a', '\xdanico'), (b'L', 'Suplementar'), (b'F', 'Final'), (b'A', 'Vota\xe7\xe3o \xfanica em Regime de Urg\xeancia'), (b'B', '1\xaa Vota\xe7\xe3o'), (b'C', '2\xaa e 3\xaa Vota\xe7\xe3o')])), - ('texto', models.TextField(null=True, verbose_name='Texto da A\xe7\xe3o', blank=True)), - ('data_fim_prazo', models.DateField(null=True, verbose_name='Data Fim Prazo', blank=True)), + ('turno', models.CharField(max_length=1, choices=[('P', 'Primeiro'), ('S', 'Segundo'), ('Ú', 'Único'), ('L', 'Suplementar'), ('F', 'Final'), ('A', 'Votação única em Regime de Urgência'), ('B', '1ª Votação'), ('C', '2ª e 3ª Votação')], blank=True, verbose_name='Turno', null=True)), + ('texto', models.TextField(blank=True, verbose_name='Texto da Ação', null=True)), + ('data_fim_prazo', models.DateField(blank=True, verbose_name='Data Fim Prazo', null=True)), ('materia', models.ForeignKey(to='materia.MateriaLegislativa')), - ('status', models.ForeignKey(verbose_name='Status', blank=True, to='materia.StatusTramitacao', null=True)), + ('status', models.ForeignKey(to='materia.StatusTramitacao', blank=True, null=True, verbose_name='Status')), ], options={ - 'verbose_name': 'Tramita\xe7\xe3o', - 'verbose_name_plural': 'Tramita\xe7\xf5es', + 'verbose_name': 'Tramitação', + 'verbose_name_plural': 'Tramitações', }, ), migrations.CreateModel( name='UnidadeTramitacao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('comissao', models.ForeignKey(verbose_name='Comiss\xe3o', blank=True, to='comissoes.Comissao', null=True)), - ('orgao', models.ForeignKey(verbose_name='\xd3rg\xe3o', blank=True, to='materia.Orgao', null=True)), - ('parlamentar', models.ForeignKey(verbose_name='Parlamentar', blank=True, to='parlamentares.Parlamentar', null=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('comissao', models.ForeignKey(to='comissoes.Comissao', blank=True, null=True, verbose_name='Comissão')), + ('orgao', models.ForeignKey(to='materia.Orgao', blank=True, null=True, verbose_name='Órgão')), + ('parlamentar', models.ForeignKey(to='parlamentares.Parlamentar', blank=True, null=True, verbose_name='Parlamentar')), ], options={ - 'verbose_name': 'Unidade de Tramita\xe7\xe3o', - 'verbose_name_plural': 'Unidades de Tramita\xe7\xe3o', + 'verbose_name': 'Unidade de Tramitação', + 'verbose_name_plural': 'Unidades de Tramitação', }, ), migrations.AddField( model_name='tramitacao', name='unidade_tramitacao_destino', - field=models.ForeignKey(related_name='+', verbose_name='Unidade Destino', blank=True, to='materia.UnidadeTramitacao', null=True), + field=models.ForeignKey(to='materia.UnidadeTramitacao', blank=True, null=True, related_name='+', verbose_name='Unidade Destino'), ), migrations.AddField( model_name='tramitacao', name='unidade_tramitacao_local', - field=models.ForeignKey(related_name='+', verbose_name='Unidade Local', blank=True, to='materia.UnidadeTramitacao', null=True), + field=models.ForeignKey(to='materia.UnidadeTramitacao', blank=True, null=True, related_name='+', verbose_name='Unidade Local'), ), migrations.AddField( model_name='relatoria', name='tipo_fim_relatoria', - field=models.ForeignKey(verbose_name='Motivo Fim Relatoria', blank=True, to='materia.TipoFimRelatoria', null=True), + field=models.ForeignKey(to='materia.TipoFimRelatoria', blank=True, null=True, verbose_name='Motivo Fim Relatoria'), ), migrations.AddField( model_name='proposicao', name='tipo', - field=models.ForeignKey(verbose_name='Tipo', to='materia.TipoProposicao'), + field=models.ForeignKey(to='materia.TipoProposicao', verbose_name='Tipo'), ), migrations.AddField( model_name='parecer', @@ -381,27 +381,27 @@ class Migration(migrations.Migration): migrations.AddField( model_name='numeracao', name='tipo_materia', - field=models.ForeignKey(verbose_name='Tipo de Mat\xe9ria', to='materia.TipoMateriaLegislativa'), + field=models.ForeignKey(to='materia.TipoMateriaLegislativa', verbose_name='Tipo de Matéria'), ), migrations.AddField( model_name='materialegislativa', name='local_origem_externa', - field=models.ForeignKey(verbose_name='Local Origem', blank=True, to='materia.Origem', null=True), + field=models.ForeignKey(to='materia.Origem', blank=True, null=True, verbose_name='Local Origem'), ), migrations.AddField( model_name='materialegislativa', name='regime_tramitacao', - field=models.ForeignKey(verbose_name='Regime Tramita\xe7\xe3o', to='materia.RegimeTramitacao'), + field=models.ForeignKey(to='materia.RegimeTramitacao', verbose_name='Regime Tramitação'), ), migrations.AddField( model_name='materialegislativa', - name='tipo_id_basica', - field=models.ForeignKey(verbose_name='Tipo', to='materia.TipoMateriaLegislativa'), + name='tipo', + field=models.ForeignKey(to='materia.TipoMateriaLegislativa', verbose_name='Tipo'), ), migrations.AddField( model_name='materialegislativa', name='tipo_origem_externa', - field=models.ForeignKey(related_name='+', verbose_name='Tipo', blank=True, to='materia.TipoMateriaLegislativa', null=True), + field=models.ForeignKey(to='materia.TipoMateriaLegislativa', blank=True, null=True, related_name='+', verbose_name='Tipo'), ), migrations.AddField( model_name='materiaassunto', @@ -416,7 +416,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='documentoacessorio', name='tipo', - field=models.ForeignKey(verbose_name='Tipo', to='materia.TipoDocumento'), + field=models.ForeignKey(to='materia.TipoDocumento', verbose_name='Tipo'), ), migrations.AddField( model_name='despachoinicial', @@ -431,7 +431,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='autor', name='tipo', - field=models.ForeignKey(verbose_name='Tipo', to='materia.TipoAutor'), + field=models.ForeignKey(to='materia.TipoAutor', verbose_name='Tipo'), ), migrations.AddField( model_name='anexada', diff --git a/materia/migrations/0002_auto_20150707_0945.py b/materia/migrations/0002_auto_20150707_0945.py deleted file mode 100644 index 516b81da1..000000000 --- a/materia/migrations/0002_auto_20150707_0945.py +++ /dev/null @@ -1,29 +0,0 @@ -# -*- coding: utf-8 -*- - - -from django.db import models, migrations - - -class Migration(migrations.Migration): - - dependencies = [ - ('materia', '0001_initial'), - ] - - operations = [ - migrations.RenameField( - model_name='materialegislativa', - old_name='ano_ident_basica', - new_name='ano', - ), - migrations.RenameField( - model_name='materialegislativa', - old_name='numero_ident_basica', - new_name='numero', - ), - migrations.RenameField( - model_name='materialegislativa', - old_name='tipo_id_basica', - new_name='tipo', - ), - ] diff --git a/norma/migrations/0001_initial.py b/norma/migrations/0001_initial.py index e6c60dcdd..9476083ed 100644 --- a/norma/migrations/0001_initial.py +++ b/norma/migrations/0001_initial.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- - +from __future__ import unicode_literals from django.db import models, migrations @@ -14,9 +14,9 @@ class Migration(migrations.Migration): migrations.CreateModel( name='AssuntoNorma', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('assunto', models.CharField(max_length=50, verbose_name='Assunto')), - ('descricao', models.CharField(max_length=250, null=True, verbose_name='Descri\xe7\xe3o', blank=True)), + ('descricao', models.CharField(max_length=250, blank=True, verbose_name='Descrição', null=True)), ], options={ 'verbose_name': 'Assunto de Norma', @@ -26,82 +26,82 @@ class Migration(migrations.Migration): migrations.CreateModel( name='LegislacaoCitada', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('disposicoes', models.CharField(max_length=15, null=True, verbose_name='Disposi\xe7\xe3o', blank=True)), - ('parte', models.CharField(max_length=8, null=True, verbose_name='Parte', blank=True)), - ('livro', models.CharField(max_length=7, null=True, verbose_name='Livro', blank=True)), - ('titulo', models.CharField(max_length=7, null=True, verbose_name='T\xedtulo', blank=True)), - ('capitulo', models.CharField(max_length=7, null=True, verbose_name='Cap\xedtulo', blank=True)), - ('secao', models.CharField(max_length=7, null=True, verbose_name='Se\xe7\xe3o', blank=True)), - ('subsecao', models.CharField(max_length=7, null=True, verbose_name='Subse\xe7\xe3o', blank=True)), - ('artigo', models.CharField(max_length=4, null=True, verbose_name='Artigo', blank=True)), - ('paragrafo', models.CharField(max_length=3, null=True, verbose_name='Par\xe1grafo', blank=True)), - ('inciso', models.CharField(max_length=10, null=True, verbose_name='Inciso', blank=True)), - ('alinea', models.CharField(max_length=3, null=True, verbose_name='Al\xednea', blank=True)), - ('item', models.CharField(max_length=3, null=True, verbose_name='Item', blank=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('disposicoes', models.CharField(max_length=15, blank=True, verbose_name='Disposição', null=True)), + ('parte', models.CharField(max_length=8, blank=True, verbose_name='Parte', null=True)), + ('livro', models.CharField(max_length=7, blank=True, verbose_name='Livro', null=True)), + ('titulo', models.CharField(max_length=7, blank=True, verbose_name='Título', null=True)), + ('capitulo', models.CharField(max_length=7, blank=True, verbose_name='Capítulo', null=True)), + ('secao', models.CharField(max_length=7, blank=True, verbose_name='Seção', null=True)), + ('subsecao', models.CharField(max_length=7, blank=True, verbose_name='Subseção', null=True)), + ('artigo', models.CharField(max_length=4, blank=True, verbose_name='Artigo', null=True)), + ('paragrafo', models.CharField(max_length=3, blank=True, verbose_name='Parágrafo', null=True)), + ('inciso', models.CharField(max_length=10, blank=True, verbose_name='Inciso', null=True)), + ('alinea', models.CharField(max_length=3, blank=True, verbose_name='Alínea', null=True)), + ('item', models.CharField(max_length=3, blank=True, verbose_name='Item', null=True)), ('materia', models.ForeignKey(to='materia.MateriaLegislativa')), ], options={ - 'verbose_name': 'Mat\xe9ria Legislativa', - 'verbose_name_plural': 'Mat\xe9rias Legislativas', + 'verbose_name': 'Matéria Legislativa', + 'verbose_name_plural': 'Matérias Legislativas', }, ), migrations.CreateModel( name='NormaJuridica', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('numero', models.IntegerField(verbose_name='N\xfamero')), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('numero', models.IntegerField(verbose_name='Número')), ('ano', models.SmallIntegerField(verbose_name='Ano')), - ('esfera_federacao', models.CharField(max_length=1, verbose_name='Esfera Federa\xe7\xe3o', choices=[(b'M', 'Municipal'), (b'E', 'Estadual'), (b'F', 'Federal')])), - ('data', models.DateField(null=True, verbose_name='Data', blank=True)), - ('data_publicacao', models.DateField(null=True, verbose_name='Data Publica\xe7\xe3o', blank=True)), - ('veiculo_publicacao', models.CharField(max_length=30, null=True, verbose_name='Ve\xedculo Publica\xe7\xe3o', blank=True)), - ('pagina_inicio_publicacao', models.IntegerField(null=True, verbose_name='Pg. In\xedcio', blank=True)), - ('pagina_fim_publicacao', models.IntegerField(null=True, verbose_name='Pg. Fim', blank=True)), + ('esfera_federacao', models.CharField(max_length=1, choices=[('E', 'Estadual'), ('F', 'Federal'), ('M', 'Municipal')], verbose_name='Esfera Federação')), + ('data', models.DateField(blank=True, verbose_name='Data', null=True)), + ('data_publicacao', models.DateField(blank=True, verbose_name='Data Publicação', null=True)), + ('veiculo_publicacao', models.CharField(max_length=30, blank=True, verbose_name='Veículo Publicação', null=True)), + ('pagina_inicio_publicacao', models.IntegerField(blank=True, verbose_name='Pg. Início', null=True)), + ('pagina_fim_publicacao', models.IntegerField(blank=True, verbose_name='Pg. Fim', null=True)), ('ementa', models.TextField(verbose_name='Ementa')), - ('indexacao', models.TextField(null=True, verbose_name='Indexa\xe7\xe3o', blank=True)), - ('observacao', models.TextField(null=True, verbose_name='Observa\xe7\xe3o', blank=True)), + ('indexacao', models.TextField(blank=True, verbose_name='Indexação', null=True)), + ('observacao', models.TextField(blank=True, verbose_name='Observação', null=True)), ('complemento', models.NullBooleanField(verbose_name='Complementar ?')), - ('data_vigencia', models.DateField(null=True, blank=True)), + ('data_vigencia', models.DateField(blank=True, null=True)), ('timestamp', models.DateTimeField()), ('assunto', models.ForeignKey(to='norma.AssuntoNorma')), - ('materia', models.ForeignKey(blank=True, to='materia.MateriaLegislativa', null=True)), + ('materia', models.ForeignKey(to='materia.MateriaLegislativa', blank=True, null=True)), ], options={ - 'verbose_name': 'Norma Jur\xeddica', - 'verbose_name_plural': 'Normas Jur\xeddicas', + 'verbose_name': 'Norma Jurídica', + 'verbose_name_plural': 'Normas Jurídicas', }, ), migrations.CreateModel( name='TipoNormaJuridica', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('equivalente_lexml', models.CharField(blank=True, max_length=50, null=True, verbose_name='Equivalente LexML', choices=[(b'constituicao', b'constituicao'), (b'ementa.constitucional', b'ementa.constitucional'), (b'lei.complementar', b'lei.complementar'), (b'lei.delegada', b'lei.delegada'), (b'lei', b'lei'), (b'decreto.lei', b'decreto.lei'), (b'medida.provisoria', b'medida.provisoria'), (b'decreto', b'decreto'), (b'lei.organica', b'lei.organica'), (b'emenda.lei.organica', b'emenda.lei.organica'), (b'decreto.legislativo', b'decreto.legislativo'), (b'resolucao', b'resolucao'), (b'regimento.interno', b'regimento.interno')])), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('equivalente_lexml', models.CharField(max_length=50, choices=[('constituicao', 'constituicao'), ('ementa.constitucional', 'ementa.constitucional'), ('lei.complementar', 'lei.complementar'), ('lei.delegada', 'lei.delegada'), ('lei', 'lei'), ('decreto.lei', 'decreto.lei'), ('medida.provisoria', 'medida.provisoria'), ('decreto', 'decreto'), ('lei.organica', 'lei.organica'), ('emenda.lei.organica', 'emenda.lei.organica'), ('decreto.legislativo', 'decreto.legislativo'), ('resolucao', 'resolucao'), ('regimento.interno', 'regimento.interno')], blank=True, verbose_name='Equivalente LexML', null=True)), ('sigla', models.CharField(max_length=3, verbose_name='Sigla')), - ('descricao', models.CharField(max_length=50, verbose_name='Descri\xe7\xe3o')), + ('descricao', models.CharField(max_length=50, verbose_name='Descrição')), ], options={ - 'verbose_name': 'Tipo de Norma Jur\xeddica', - 'verbose_name_plural': 'Tipos de Norma Jur\xeddica', + 'verbose_name': 'Tipo de Norma Jurídica', + 'verbose_name_plural': 'Tipos de Norma Jurídica', }, ), migrations.CreateModel( name='VinculoNormaJuridica', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('tipo_vinculo', models.CharField(blank=True, max_length=1, null=True, choices=[(b'A', 'Altera a norma'), (b'R', 'Revoga a norma'), (b'P', 'Revoga parcialmente a norma'), (b'T', 'Revoga por consolida\xe7\xe3o a norma'), (b'C', 'Norma correlata'), (b'I', 'Suspende a execu\xe7\xe3o da norma'), (b'G', 'Regulamenta a norma')])), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('tipo_vinculo', models.CharField(max_length=1, choices=[('A', 'Altera a norma'), ('R', 'Revoga a norma'), ('P', 'Revoga parcialmente a norma'), ('T', 'Revoga por consolidação a norma'), ('C', 'Norma correlata'), ('I', 'Suspende a execução da norma'), ('G', 'Regulamenta a norma')], blank=True, null=True)), ('norma_referente', models.ForeignKey(related_name='+', to='norma.NormaJuridica')), ('norma_referida', models.ForeignKey(related_name='+', to='norma.NormaJuridica')), ], options={ - 'verbose_name': 'V\xednculo entre Normas Jur\xeddicas', - 'verbose_name_plural': 'V\xednculos entre Normas Jur\xeddicas', + 'verbose_name': 'Vínculo entre Normas Jurídicas', + 'verbose_name_plural': 'Vínculos entre Normas Jurídicas', }, ), migrations.AddField( model_name='normajuridica', name='tipo', - field=models.ForeignKey(verbose_name='Tipo', to='norma.TipoNormaJuridica'), + field=models.ForeignKey(to='norma.TipoNormaJuridica', verbose_name='Tipo'), ), migrations.AddField( model_name='legislacaocitada', diff --git a/parlamentares/migrations/0001_initial.py b/parlamentares/migrations/0001_initial.py index 8d9062b99..a61c7b8a2 100644 --- a/parlamentares/migrations/0001_initial.py +++ b/parlamentares/migrations/0001_initial.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- - +from __future__ import unicode_literals from django.db import models, migrations @@ -13,9 +13,9 @@ class Migration(migrations.Migration): migrations.CreateModel( name='CargoMesa', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('descricao', models.CharField(max_length=50, verbose_name='Cargo na Mesa')), - ('unico', models.BooleanField(verbose_name='Cargo \xdanico')), + ('unico', models.BooleanField(verbose_name='Cargo Único')), ], options={ 'verbose_name': 'Cargo na Mesa', @@ -25,43 +25,47 @@ class Migration(migrations.Migration): migrations.CreateModel( name='Coligacao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('nome', models.CharField(max_length=50, verbose_name='Nome')), - ('numero_votos', models.IntegerField(null=True, verbose_name='N\xba Votos Recebidos', blank=True)), + ('numero_votos', models.IntegerField(blank=True, verbose_name='Nº Votos Recebidos', null=True)), ], options={ - 'verbose_name': 'Coliga\xe7\xe3o', - 'verbose_name_plural': 'Coliga\xe7\xf5es', + 'verbose_name': 'Coligação', + 'verbose_name_plural': 'Coligações', }, ), migrations.CreateModel( name='ComposicaoColigacao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('coligacao', models.ForeignKey(to='parlamentares.Coligacao')), ], + options={ + 'verbose_name': 'Composição Coligação', + 'verbose_name_plural': 'Composição Coligações', + }, ), migrations.CreateModel( name='ComposicaoMesa', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('cargo', models.ForeignKey(to='parlamentares.CargoMesa')), ], options={ - 'verbose_name': 'Ocupa\xe7\xe3o de cargo na Mesa', - 'verbose_name_plural': 'Ocupa\xe7\xf5es de cargo na Mesa', + 'verbose_name': 'Ocupação de cargo na Mesa', + 'verbose_name_plural': 'Ocupações de cargo na Mesa', }, ), migrations.CreateModel( name='Dependente', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('nome', models.CharField(max_length=50, verbose_name='Nome')), - ('sexo', models.CharField(max_length=1, verbose_name='Sexo', choices=[(b'F', 'Feminino'), (b'M', 'Masculino')])), - ('data_nascimento', models.DateField(null=True, verbose_name='Data Nascimento', blank=True)), - ('cpf', models.CharField(max_length=14, null=True, verbose_name='CPF', blank=True)), - ('rg', models.CharField(max_length=15, null=True, verbose_name='RG', blank=True)), - ('titulo_eleitor', models.CharField(max_length=15, null=True, verbose_name='N\xba T\xedtulo Eleitor', blank=True)), + ('sexo', models.CharField(max_length=1, choices=[('F', 'Feminino'), ('M', 'Masculino')], verbose_name='Sexo')), + ('data_nascimento', models.DateField(blank=True, verbose_name='Data Nascimento', null=True)), + ('cpf', models.CharField(max_length=14, blank=True, verbose_name='CPF', null=True)), + ('rg', models.CharField(max_length=15, blank=True, verbose_name='RG', null=True)), + ('titulo_eleitor', models.CharField(max_length=15, blank=True, verbose_name='Nº Título Eleitor', null=True)), ], options={ 'verbose_name': 'Dependente', @@ -71,22 +75,22 @@ class Migration(migrations.Migration): migrations.CreateModel( name='Filiacao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data', models.DateField(verbose_name='Data Filia\xe7\xe3o')), - ('data_desfiliacao', models.DateField(null=True, verbose_name='Data Desfilia\xe7\xe3o', blank=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('data', models.DateField(verbose_name='Data Filiação')), + ('data_desfiliacao', models.DateField(blank=True, verbose_name='Data Desfiliação', null=True)), ], options={ - 'verbose_name': 'Filia\xe7\xe3o', - 'verbose_name_plural': 'Filia\xe7\xf5es', + 'verbose_name': 'Filiação', + 'verbose_name_plural': 'Filiações', }, ), migrations.CreateModel( name='Legislatura', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_inicio', models.DateField(verbose_name='Data In\xedcio')), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('data_inicio', models.DateField(verbose_name='Data Início')), ('data_fim', models.DateField(verbose_name='Data Fim')), - ('data_eleicao', models.DateField(verbose_name='Data Elei\xe7\xe3o')), + ('data_eleicao', models.DateField(verbose_name='Data Eleição')), ], options={ 'verbose_name': 'Legislatura', @@ -96,14 +100,14 @@ class Migration(migrations.Migration): migrations.CreateModel( name='Mandato', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('tipo_causa_fim_mandato', models.IntegerField(null=True, blank=True)), - ('data_fim_mandato', models.DateField(null=True, verbose_name='Fim do Mandato', blank=True)), - ('votos_recebidos', models.IntegerField(null=True, verbose_name='Votos Recebidos', blank=True)), - ('data_expedicao_diploma', models.DateField(null=True, verbose_name='Expedi\xe7\xe3o do Diploma', blank=True)), - ('observacao', models.TextField(null=True, verbose_name='Observa\xe7\xe3o', blank=True)), - ('coligacao', models.ForeignKey(verbose_name='Coliga\xe7\xe3o', blank=True, to='parlamentares.Coligacao', null=True)), - ('legislatura', models.ForeignKey(verbose_name='Legislatura', to='parlamentares.Legislatura')), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('tipo_causa_fim_mandato', models.IntegerField(blank=True, null=True)), + ('data_fim_mandato', models.DateField(blank=True, verbose_name='Fim do Mandato', null=True)), + ('votos_recebidos', models.IntegerField(blank=True, verbose_name='Votos Recebidos', null=True)), + ('data_expedicao_diploma', models.DateField(blank=True, verbose_name='Expedição do Diploma', null=True)), + ('observacao', models.TextField(blank=True, verbose_name='Observação', null=True)), + ('coligacao', models.ForeignKey(to='parlamentares.Coligacao', blank=True, null=True, verbose_name='Coligação')), + ('legislatura', models.ForeignKey(to='parlamentares.Legislatura', verbose_name='Legislatura')), ], options={ 'verbose_name': 'Mandato', @@ -113,55 +117,55 @@ class Migration(migrations.Migration): migrations.CreateModel( name='Municipio', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nome', models.CharField(max_length=50, null=True, blank=True)), - ('uf', models.CharField(blank=True, max_length=2, null=True, choices=[(b'AC', 'Acre'), (b'AL', 'Alagoas'), (b'AP', 'Amap\xe1'), (b'AM', 'Amazonas'), (b'BA', 'Bahia'), (b'CE', 'Cear\xe1'), (b'DF', 'Distrito Federal'), (b'ES', 'Esp\xedrito Santo'), (b'GO', 'Goi\xe1s'), (b'MA', 'Maranh\xe3o'), (b'MT', 'Mato Grosso'), (b'MS', 'Mato Grosso do Sul'), (b'MG', 'Minas Gerais'), (b'PR', 'Paran\xe1'), (b'PB', 'Para\xedba'), (b'PA', 'Par\xe1'), (b'PE', 'Pernambuco'), (b'PI', 'Piau\xed'), (b'RJ', 'Rio de Janeiro'), (b'RN', 'Rio Grande do Norte'), (b'RS', 'Rio Grande do Sul'), (b'RO', 'Rond\xf4nia'), (b'RR', 'Roraima'), (b'SC', 'Santa Catarina'), (b'SE', 'Sergipe'), (b'SP', 'S\xe3o Paulo'), (b'TO', 'Tocantins'), (b'EX', 'Exterior')])), - ('regiao', models.CharField(blank=True, max_length=2, null=True, choices=[(b'CO', 'Centro-Oeste'), (b'NE', 'Nordeste'), (b'NO', 'Norte'), (b'SE', 'Sudeste'), (b'SL', 'Sul'), (b'EX', 'Exterior')])), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('nome', models.CharField(max_length=50, blank=True, null=True)), + ('uf', models.CharField(max_length=2, choices=[('AC', 'Acre'), ('AL', 'Alagoas'), ('AP', 'Amapá'), ('AM', 'Amazonas'), ('BA', 'Bahia'), ('CE', 'Ceará'), ('DF', 'Distrito Federal'), ('ES', 'Espírito Santo'), ('GO', 'Goiás'), ('MA', 'Maranhão'), ('MT', 'Mato Grosso'), ('MS', 'Mato Grosso do Sul'), ('MG', 'Minas Gerais'), ('PR', 'Paraná'), ('PB', 'Paraíba'), ('PA', 'Pará'), ('PE', 'Pernambuco'), ('PI', 'Piauí'), ('RJ', 'Rio de Janeiro'), ('RN', 'Rio Grande do Norte'), ('RS', 'Rio Grande do Sul'), ('RO', 'Rondônia'), ('RR', 'Roraima'), ('SC', 'Santa Catarina'), ('SE', 'Sergipe'), ('SP', 'São Paulo'), ('TO', 'Tocantins'), ('EX', 'Exterior')], blank=True, null=True)), + ('regiao', models.CharField(max_length=2, choices=[('CO', 'Centro-Oeste'), ('NE', 'Nordeste'), ('NO', 'Norte'), ('SE', 'Sudeste'), ('SL', 'Sul'), ('EX', 'Exterior')], blank=True, null=True)), ], options={ - 'verbose_name': 'Munic\xedpio', - 'verbose_name_plural': 'Munic\xedpios', + 'verbose_name': 'Município', + 'verbose_name_plural': 'Municípios', }, ), migrations.CreateModel( name='NivelInstrucao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('descricao', models.CharField(max_length=50, verbose_name='N\xedvel de Instru\xe7\xe3o')), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('descricao', models.CharField(max_length=50, verbose_name='Nível de Instrução')), ], options={ - 'verbose_name': 'N\xedvel Instru\xe7\xe3o', - 'verbose_name_plural': 'N\xedveis Instru\xe7\xe3o', + 'verbose_name': 'Nível Instrução', + 'verbose_name_plural': 'Níveis Instrução', }, ), migrations.CreateModel( name='Parlamentar', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('nome_completo', models.CharField(max_length=50, verbose_name='Nome Completo')), - ('nome_parlamentar', models.CharField(max_length=50, null=True, verbose_name='Nome Parlamentar', blank=True)), - ('sexo', models.CharField(max_length=1, verbose_name='Sexo', choices=[(b'F', 'Feminino'), (b'M', 'Masculino')])), - ('data_nascimento', models.DateField(null=True, verbose_name='Data Nascimento', blank=True)), - ('cpf', models.CharField(max_length=14, null=True, verbose_name='C.P.F', blank=True)), - ('rg', models.CharField(max_length=15, null=True, verbose_name='R.G.', blank=True)), - ('titulo_eleitor', models.CharField(max_length=15, null=True, verbose_name='T\xedtulo de Eleitor', blank=True)), + ('nome_parlamentar', models.CharField(max_length=50, blank=True, verbose_name='Nome Parlamentar', null=True)), + ('sexo', models.CharField(max_length=1, choices=[('F', 'Feminino'), ('M', 'Masculino')], verbose_name='Sexo')), + ('data_nascimento', models.DateField(blank=True, verbose_name='Data Nascimento', null=True)), + ('cpf', models.CharField(max_length=14, blank=True, verbose_name='C.P.F', null=True)), + ('rg', models.CharField(max_length=15, blank=True, verbose_name='R.G.', null=True)), + ('titulo_eleitor', models.CharField(max_length=15, blank=True, verbose_name='Título de Eleitor', null=True)), ('cod_casa', models.IntegerField()), - ('numero_gab_parlamentar', models.CharField(max_length=10, null=True, verbose_name='N\xba Gabinete', blank=True)), - ('telefone', models.CharField(max_length=50, null=True, verbose_name='Telefone', blank=True)), - ('fax', models.CharField(max_length=50, null=True, verbose_name='Fax', blank=True)), - ('endereco_residencia', models.CharField(max_length=100, null=True, verbose_name='Endere\xe7o Residencial', blank=True)), - ('cep_residencia', models.CharField(max_length=9, null=True, verbose_name='CEP', blank=True)), - ('telefone_residencia', models.CharField(max_length=50, null=True, verbose_name='Telefone Residencial', blank=True)), - ('fax_residencia', models.CharField(max_length=50, null=True, verbose_name='Fax Residencial', blank=True)), - ('endereco_web', models.CharField(max_length=100, null=True, verbose_name='HomePage', blank=True)), - ('profissao', models.CharField(max_length=50, null=True, verbose_name='Profiss\xe3o', blank=True)), - ('email', models.CharField(max_length=100, null=True, verbose_name='Correio Eletr\xf4nico', blank=True)), - ('locais_atuacao', models.CharField(max_length=100, null=True, verbose_name='Locais de Atua\xe7\xe3o', blank=True)), + ('numero_gab_parlamentar', models.CharField(max_length=10, blank=True, verbose_name='Nº Gabinete', null=True)), + ('telefone', models.CharField(max_length=50, blank=True, verbose_name='Telefone', null=True)), + ('fax', models.CharField(max_length=50, blank=True, verbose_name='Fax', null=True)), + ('endereco_residencia', models.CharField(max_length=100, blank=True, verbose_name='Endereço Residencial', null=True)), + ('cep_residencia', models.CharField(max_length=9, blank=True, verbose_name='CEP', null=True)), + ('telefone_residencia', models.CharField(max_length=50, blank=True, verbose_name='Telefone Residencial', null=True)), + ('fax_residencia', models.CharField(max_length=50, blank=True, verbose_name='Fax Residencial', null=True)), + ('endereco_web', models.CharField(max_length=100, blank=True, verbose_name='HomePage', null=True)), + ('profissao', models.CharField(max_length=50, blank=True, verbose_name='Profissão', null=True)), + ('email', models.CharField(max_length=100, blank=True, verbose_name='Correio Eletrônico', null=True)), + ('locais_atuacao', models.CharField(max_length=100, blank=True, verbose_name='Locais de Atuação', null=True)), ('ativo', models.BooleanField(verbose_name='Ativo na Casa?')), - ('biografia', models.TextField(null=True, verbose_name='Biografia', blank=True)), + ('biografia', models.TextField(blank=True, verbose_name='Biografia', null=True)), ('unidade_deliberativa', models.BooleanField()), - ('municipio_residencia', models.ForeignKey(verbose_name='Munic\xedpio', blank=True, to='parlamentares.Municipio', null=True)), - ('nivel_instrucao', models.ForeignKey(verbose_name='N\xedvel Instru\xe7\xe3o', blank=True, to='parlamentares.NivelInstrucao', null=True)), + ('municipio_residencia', models.ForeignKey(to='parlamentares.Municipio', blank=True, null=True, verbose_name='Município')), + ('nivel_instrucao', models.ForeignKey(to='parlamentares.NivelInstrucao', blank=True, null=True, verbose_name='Nível Instrução')), ], options={ 'verbose_name': 'Parlamentar', @@ -171,11 +175,11 @@ class Migration(migrations.Migration): migrations.CreateModel( name='Partido', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('sigla', models.CharField(max_length=9, verbose_name='Sigla')), ('nome', models.CharField(max_length=50, verbose_name='Nome')), - ('data_criacao', models.DateField(null=True, verbose_name='Data Cria\xe7\xe3o', blank=True)), - ('data_extincao', models.DateField(null=True, verbose_name='Data Extin\xe7\xe3o', blank=True)), + ('data_criacao', models.DateField(blank=True, verbose_name='Data Criação', null=True)), + ('data_extincao', models.DateField(blank=True, verbose_name='Data Extinção', null=True)), ], options={ 'verbose_name': 'Partido', @@ -185,39 +189,39 @@ class Migration(migrations.Migration): migrations.CreateModel( name='SessaoLegislativa', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('numero', models.IntegerField(verbose_name='N\xfamero')), - ('tipo', models.CharField(max_length=1, verbose_name='Tipo', choices=[(b'O', 'Ordin\xe1ria'), (b'E', 'Extraordin\xe1ria')])), - ('data_inicio', models.DateField(verbose_name='Data In\xedcio')), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('numero', models.IntegerField(verbose_name='Número')), + ('tipo', models.CharField(max_length=1, choices=[('O', 'Ordinária'), ('E', 'Extraordinária')], verbose_name='Tipo')), + ('data_inicio', models.DateField(verbose_name='Data Início')), ('data_fim', models.DateField(verbose_name='Data Fim')), - ('data_inicio_intervalo', models.DateField(null=True, verbose_name='In\xedcio Intervalo', blank=True)), - ('data_fim_intervalo', models.DateField(null=True, verbose_name='Fim Intervalo', blank=True)), + ('data_inicio_intervalo', models.DateField(blank=True, verbose_name='Início Intervalo', null=True)), + ('data_fim_intervalo', models.DateField(blank=True, verbose_name='Fim Intervalo', null=True)), ('legislatura', models.ForeignKey(to='parlamentares.Legislatura')), ], options={ - 'verbose_name': 'Sess\xe3o Legislativa', - 'verbose_name_plural': 'Sess\xf5es Legislativas', + 'verbose_name': 'Sessão Legislativa', + 'verbose_name_plural': 'Sessões Legislativas', }, ), migrations.CreateModel( name='SituacaoMilitar', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('descricao', models.CharField(max_length=50, verbose_name='Situa\xe7\xe3o Militar')), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('descricao', models.CharField(max_length=50, verbose_name='Situação Militar')), ], options={ - 'verbose_name': 'Tipo Situa\xe7\xe3o Militar', - 'verbose_name_plural': 'Tipos Situa\xe7\xf5es Militares', + 'verbose_name': 'Tipo Situação Militar', + 'verbose_name_plural': 'Tipos Situações Militares', }, ), migrations.CreateModel( name='TipoAfastamento', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('descricao', models.CharField(max_length=50, verbose_name='Descri\xe7\xe3o')), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('descricao', models.CharField(max_length=50, verbose_name='Descrição')), ('afastamento', models.BooleanField(verbose_name='Indicador')), ('fim_mandato', models.BooleanField(verbose_name='Indicador')), - ('dispositivo', models.CharField(max_length=50, null=True, verbose_name='Dispositivo', blank=True)), + ('dispositivo', models.CharField(max_length=50, blank=True, verbose_name='Dispositivo', null=True)), ], options={ 'verbose_name': 'Tipo de Afastamento', @@ -227,7 +231,7 @@ class Migration(migrations.Migration): migrations.CreateModel( name='TipoDependente', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('descricao', models.CharField(max_length=50)), ], options={ @@ -238,7 +242,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='parlamentar', name='situacao_militar', - field=models.ForeignKey(verbose_name='Situa\xe7\xe3o Militar', blank=True, to='parlamentares.SituacaoMilitar', null=True), + field=models.ForeignKey(to='parlamentares.SituacaoMilitar', blank=True, null=True, verbose_name='Situação Militar'), ), migrations.AddField( model_name='mandato', @@ -248,7 +252,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='mandato', name='tipo_afastamento', - field=models.ForeignKey(blank=True, to='parlamentares.TipoAfastamento', null=True), + field=models.ForeignKey(to='parlamentares.TipoAfastamento', blank=True, null=True), ), migrations.AddField( model_name='filiacao', @@ -258,7 +262,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='filiacao', name='partido', - field=models.ForeignKey(verbose_name='Partido', to='parlamentares.Partido'), + field=models.ForeignKey(to='parlamentares.Partido', verbose_name='Partido'), ), migrations.AddField( model_name='dependente', @@ -268,7 +272,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='dependente', name='tipo', - field=models.ForeignKey(verbose_name='Tipo', to='parlamentares.TipoDependente'), + field=models.ForeignKey(to='parlamentares.TipoDependente', verbose_name='Tipo'), ), migrations.AddField( model_name='composicaomesa', @@ -288,6 +292,6 @@ class Migration(migrations.Migration): migrations.AddField( model_name='coligacao', name='legislatura', - field=models.ForeignKey(verbose_name='Legislatura', to='parlamentares.Legislatura'), + field=models.ForeignKey(to='parlamentares.Legislatura', verbose_name='Legislatura'), ), ] diff --git a/protocoloadm/migrations/0001_initial.py b/protocoloadm/migrations/0001_initial.py index ebb4363c0..c7e4080e7 100644 --- a/protocoloadm/migrations/0001_initial.py +++ b/protocoloadm/migrations/0001_initial.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- - +from __future__ import unicode_literals from django.db import models, migrations @@ -14,34 +14,34 @@ class Migration(migrations.Migration): migrations.CreateModel( name='DocumentoAcessorioAdministrativo', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('nome', models.CharField(max_length=30, verbose_name='Nome')), ('arquivo', models.CharField(max_length=100, verbose_name='Arquivo')), - ('data', models.DateField(null=True, verbose_name='Data', blank=True)), - ('autor', models.CharField(max_length=50, null=True, verbose_name='Autor', blank=True)), - ('assunto', models.TextField(null=True, verbose_name='Assunto', blank=True)), - ('indexacao', models.TextField(null=True, blank=True)), + ('data', models.DateField(blank=True, verbose_name='Data', null=True)), + ('autor', models.CharField(max_length=50, blank=True, verbose_name='Autor', null=True)), + ('assunto', models.TextField(blank=True, verbose_name='Assunto', null=True)), + ('indexacao', models.TextField(blank=True, null=True)), ], options={ - 'verbose_name': 'Documento Acess\xf3rio', - 'verbose_name_plural': 'Documentos Acess\xf3rios', + 'verbose_name': 'Documento Acessório', + 'verbose_name_plural': 'Documentos Acessórios', }, ), migrations.CreateModel( name='DocumentoAdministrativo', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('numero', models.IntegerField(verbose_name='N\xfamero')), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('numero', models.IntegerField(verbose_name='Número')), ('ano', models.SmallIntegerField(verbose_name='Ano')), ('data', models.DateField(verbose_name='Data')), - ('numero_protocolo', models.IntegerField(null=True, verbose_name='N\xfam. Protocolo', blank=True)), - ('interessado', models.CharField(max_length=50, null=True, verbose_name='Interessado', blank=True)), - ('dias_prazo', models.IntegerField(null=True, verbose_name='Dias Prazo', blank=True)), - ('data_fim_prazo', models.DateField(null=True, verbose_name='Data Fim Prazo', blank=True)), - ('tramitacao', models.BooleanField(verbose_name='Em Tramita\xe7\xe3o?')), + ('numero_protocolo', models.IntegerField(blank=True, verbose_name='Núm. Protocolo', null=True)), + ('interessado', models.CharField(max_length=50, blank=True, verbose_name='Interessado', null=True)), + ('dias_prazo', models.IntegerField(blank=True, verbose_name='Dias Prazo', null=True)), + ('data_fim_prazo', models.DateField(blank=True, verbose_name='Data Fim Prazo', null=True)), + ('tramitacao', models.BooleanField(verbose_name='Em Tramitação?')), ('assunto', models.TextField(verbose_name='Assunto')), - ('observacao', models.TextField(null=True, verbose_name='Observa\xe7\xe3o', blank=True)), - ('autor', models.ForeignKey(blank=True, to='materia.Autor', null=True)), + ('observacao', models.TextField(blank=True, verbose_name='Observação', null=True)), + ('autor', models.ForeignKey(to='materia.Autor', blank=True, null=True)), ], options={ 'verbose_name': 'Documento Administrativo', @@ -51,24 +51,24 @@ class Migration(migrations.Migration): migrations.CreateModel( name='Protocolo', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('numero', models.IntegerField(null=True, verbose_name='N\xfamero do Protocolo', blank=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('numero', models.IntegerField(blank=True, verbose_name='Número do Protocolo', null=True)), ('ano', models.SmallIntegerField()), ('data', models.DateField()), ('hora', models.TimeField()), ('timestamp', models.DateTimeField()), ('tipo_protocolo', models.IntegerField(verbose_name='Tipo de Protocolo')), ('tipo_processo', models.IntegerField()), - ('interessado', models.CharField(max_length=60, null=True, verbose_name='Interessado', blank=True)), - ('assunto_ementa', models.TextField(null=True, blank=True)), - ('numero_paginas', models.IntegerField(null=True, verbose_name='N\xfamero de P\xe1ginas', blank=True)), - ('observacao', models.TextField(null=True, verbose_name='Observa\xe7\xe3o', blank=True)), + ('interessado', models.CharField(max_length=60, blank=True, verbose_name='Interessado', null=True)), + ('assunto_ementa', models.TextField(blank=True, null=True)), + ('numero_paginas', models.IntegerField(blank=True, verbose_name='Número de Páginas', null=True)), + ('observacao', models.TextField(blank=True, verbose_name='Observação', null=True)), ('anulado', models.BooleanField()), - ('user_anulacao', models.CharField(max_length=20, null=True, blank=True)), - ('ip_anulacao', models.CharField(max_length=15, null=True, blank=True)), - ('justificativa_anulacao', models.CharField(max_length=60, null=True, blank=True)), - ('timestamp_anulacao', models.DateTimeField(null=True, blank=True)), - ('autor', models.ForeignKey(blank=True, to='materia.Autor', null=True)), + ('user_anulacao', models.CharField(max_length=20, blank=True, null=True)), + ('ip_anulacao', models.CharField(max_length=15, blank=True, null=True)), + ('justificativa_anulacao', models.CharField(max_length=60, blank=True, null=True)), + ('timestamp_anulacao', models.DateTimeField(blank=True, null=True)), + ('autor', models.ForeignKey(to='materia.Autor', blank=True, null=True)), ], options={ 'verbose_name': 'Protocolo', @@ -78,22 +78,22 @@ class Migration(migrations.Migration): migrations.CreateModel( name='StatusTramitacaoAdministrativo', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('sigla', models.CharField(max_length=10, verbose_name='Sigla')), - ('descricao', models.CharField(max_length=60, verbose_name='Descri\xe7\xe3o')), - ('indicador', models.CharField(max_length=1, verbose_name='Indicador da Tramita\xe7\xe3o', choices=[(b'F', 'Fim'), (b'R', 'Retorno')])), + ('descricao', models.CharField(max_length=60, verbose_name='Descrição')), + ('indicador', models.CharField(max_length=1, choices=[('F', 'Fim'), ('R', 'Retorno')], verbose_name='Indicador da Tramitação')), ], options={ - 'verbose_name': 'Status de Tramita\xe7\xe3o', - 'verbose_name_plural': 'Status de Tramita\xe7\xe3o', + 'verbose_name': 'Status de Tramitação', + 'verbose_name_plural': 'Status de Tramitação', }, ), migrations.CreateModel( name='TipoDocumentoAdministrativo', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('sigla', models.CharField(max_length=5, verbose_name='Sigla')), - ('descricao', models.CharField(max_length=50, verbose_name='Descri\xe7\xe3o')), + ('descricao', models.CharField(max_length=50, verbose_name='Descrição')), ], options={ 'verbose_name': 'Tipo de Documento Administrativo', @@ -103,36 +103,36 @@ class Migration(migrations.Migration): migrations.CreateModel( name='TramitacaoAdministrativo', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_tramitacao', models.DateField(null=True, verbose_name='Data Tramita\xe7\xe3o', blank=True)), - ('data_encaminhamento', models.DateField(null=True, verbose_name='Data Encaminhamento', blank=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('data_tramitacao', models.DateField(blank=True, verbose_name='Data Tramitação', null=True)), + ('data_encaminhamento', models.DateField(blank=True, verbose_name='Data Encaminhamento', null=True)), ('ultima', models.BooleanField()), - ('texto', models.TextField(null=True, verbose_name='Texto da A\xe7\xe3o', blank=True)), - ('data_fim_prazo', models.DateField(null=True, verbose_name='Data Fim do Prazo', blank=True)), + ('texto', models.TextField(blank=True, verbose_name='Texto da Ação', null=True)), + ('data_fim_prazo', models.DateField(blank=True, verbose_name='Data Fim do Prazo', null=True)), ('documento', models.ForeignKey(to='protocoloadm.DocumentoAdministrativo')), - ('status', models.ForeignKey(verbose_name='Status', blank=True, to='protocoloadm.StatusTramitacaoAdministrativo', null=True)), - ('unidade_tramitacao_destino', models.ForeignKey(related_name='+', verbose_name='Unidade Destino', blank=True, to='materia.UnidadeTramitacao', null=True)), - ('unidade_tramitacao_local', models.ForeignKey(related_name='+', verbose_name='Unidade Local', blank=True, to='materia.UnidadeTramitacao', null=True)), + ('status', models.ForeignKey(to='protocoloadm.StatusTramitacaoAdministrativo', blank=True, null=True, verbose_name='Status')), + ('unidade_tramitacao_destino', models.ForeignKey(to='materia.UnidadeTramitacao', blank=True, null=True, related_name='+', verbose_name='Unidade Destino')), + ('unidade_tramitacao_local', models.ForeignKey(to='materia.UnidadeTramitacao', blank=True, null=True, related_name='+', verbose_name='Unidade Local')), ], options={ - 'verbose_name': 'Tramita\xe7\xe3o de Documento Administrativo', - 'verbose_name_plural': 'Tramita\xe7\xf5es de Documento Administrativo', + 'verbose_name': 'Tramitação de Documento Administrativo', + 'verbose_name_plural': 'Tramitações de Documento Administrativo', }, ), migrations.AddField( model_name='protocolo', name='tipo_documento', - field=models.ForeignKey(verbose_name='Tipo de documento', blank=True, to='protocoloadm.TipoDocumentoAdministrativo', null=True), + field=models.ForeignKey(to='protocoloadm.TipoDocumentoAdministrativo', blank=True, null=True, verbose_name='Tipo de documento'), ), migrations.AddField( model_name='protocolo', name='tipo_materia', - field=models.ForeignKey(verbose_name='Tipo Mat\xe9ria', blank=True, to='materia.TipoMateriaLegislativa', null=True), + field=models.ForeignKey(to='materia.TipoMateriaLegislativa', blank=True, null=True, verbose_name='Tipo Matéria'), ), migrations.AddField( model_name='documentoadministrativo', name='tipo', - field=models.ForeignKey(verbose_name='Tipo Documento', to='protocoloadm.TipoDocumentoAdministrativo'), + field=models.ForeignKey(to='protocoloadm.TipoDocumentoAdministrativo', verbose_name='Tipo Documento'), ), migrations.AddField( model_name='documentoacessorioadministrativo', @@ -142,6 +142,6 @@ class Migration(migrations.Migration): migrations.AddField( model_name='documentoacessorioadministrativo', name='tipo', - field=models.ForeignKey(verbose_name='Tipo', to='protocoloadm.TipoDocumentoAdministrativo'), + field=models.ForeignKey(to='protocoloadm.TipoDocumentoAdministrativo', verbose_name='Tipo'), ), ] diff --git a/sessao/migrations/0001_initial.py b/sessao/migrations/0001_initial.py index 880fe5f19..ef025ec5c 100644 --- a/sessao/migrations/0001_initial.py +++ b/sessao/migrations/0001_initial.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- - +from __future__ import unicode_literals from django.db import models, migrations @@ -15,62 +15,62 @@ class Migration(migrations.Migration): migrations.CreateModel( name='ExpedienteMateria', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_ordem', models.DateField(verbose_name='Data da Sess\xe3o')), - ('observacao', models.TextField(null=True, verbose_name='Ementa', blank=True)), - ('numero_ordem', models.IntegerField(verbose_name='N\xba Ordem')), - ('resultado', models.TextField(null=True, blank=True)), - ('tipo_votacao', models.IntegerField(verbose_name='Tipo de vota\xe7\xe3o', choices=[(1, 'Simb\xf3lica'), (2, 'Nominal'), (3, 'Secreta')])), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('data_ordem', models.DateField(verbose_name='Data da Sessão')), + ('observacao', models.TextField(blank=True, verbose_name='Ementa', null=True)), + ('numero_ordem', models.IntegerField(verbose_name='Nº Ordem')), + ('resultado', models.TextField(blank=True, null=True)), + ('tipo_votacao', models.IntegerField(choices=[(1, 'Simbólica'), (2, 'Nominal'), (3, 'Secreta')], verbose_name='Tipo de votação')), ('materia', models.ForeignKey(to='materia.MateriaLegislativa')), ], options={ - 'verbose_name': 'Mat\xe9ria do Expediente', - 'verbose_name_plural': 'Mat\xe9rias do Expediente', + 'verbose_name': 'Matéria do Expediente', + 'verbose_name_plural': 'Matérias do Expediente', }, ), migrations.CreateModel( name='ExpedienteSessao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('conteudo', models.TextField(null=True, verbose_name='Conte\xfado do expediente', blank=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('conteudo', models.TextField(blank=True, verbose_name='Conteúdo do expediente', null=True)), ], options={ - 'verbose_name': 'Expediente de Sess\xe3o Plenaria', - 'verbose_name_plural': 'Expedientes de Sess\xe3o Plenaria', + 'verbose_name': 'Expediente de Sessão Plenaria', + 'verbose_name_plural': 'Expedientes de Sessão Plenaria', }, ), migrations.CreateModel( name='IntegranteMesa', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('cargo', models.ForeignKey(to='parlamentares.CargoMesa')), ('parlamentar', models.ForeignKey(to='parlamentares.Parlamentar')), ], options={ - 'verbose_name': 'Participa\xe7\xe3o em Mesa de Sess\xe3o Plenaria', - 'verbose_name_plural': 'Participa\xe7\xf5es em Mesas de Sess\xe3o Plenaria', + 'verbose_name': 'Participação em Mesa de Sessão Plenaria', + 'verbose_name_plural': 'Participações em Mesas de Sessão Plenaria', }, ), migrations.CreateModel( name='Orador', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('numero_ordem', models.IntegerField(verbose_name='Ordem de pronunciamento')), - ('url_discurso', models.CharField(max_length=150, null=True, verbose_name='URL V\xeddeo', blank=True)), - ('parlamentar', models.ForeignKey(verbose_name='Parlamentar', to='parlamentares.Parlamentar')), + ('url_discurso', models.CharField(max_length=150, blank=True, verbose_name='URL Vídeo', null=True)), + ('parlamentar', models.ForeignKey(to='parlamentares.Parlamentar', verbose_name='Parlamentar')), ], options={ - 'verbose_name': 'Orador das Explica\xe7\xf5es Pessoais', - 'verbose_name_plural': 'Oradores das Explica\xe7\xf5es Pessoais', + 'verbose_name': 'Orador das Explicações Pessoais', + 'verbose_name_plural': 'Oradores das Explicações Pessoais', }, ), migrations.CreateModel( name='OradorExpediente', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('numero_ordem', models.IntegerField(verbose_name='Ordem de pronunciamento')), - ('url_discurso', models.CharField(max_length=150, null=True, verbose_name='URL V\xeddeo', blank=True)), - ('parlamentar', models.ForeignKey(verbose_name='Parlamentar', to='parlamentares.Parlamentar')), + ('url_discurso', models.CharField(max_length=150, blank=True, verbose_name='URL Vídeo', null=True)), + ('parlamentar', models.ForeignKey(to='parlamentares.Parlamentar', verbose_name='Parlamentar')), ], options={ 'verbose_name': 'Orador do Expediente', @@ -80,86 +80,86 @@ class Migration(migrations.Migration): migrations.CreateModel( name='OrdemDia', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_ordem', models.DateField(verbose_name='Data da Sess\xe3o')), - ('observacao', models.TextField(null=True, verbose_name='Ementa', blank=True)), - ('numero_ordem', models.IntegerField(verbose_name='N\xba Ordem')), - ('resultado', models.TextField(null=True, blank=True)), - ('tipo_votacao', models.IntegerField(verbose_name='Tipo de vota\xe7\xe3o', choices=[(1, 'Simb\xf3lica'), (2, 'Nominal'), (3, 'Secreta')])), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('data_ordem', models.DateField(verbose_name='Data da Sessão')), + ('observacao', models.TextField(blank=True, verbose_name='Ementa', null=True)), + ('numero_ordem', models.IntegerField(verbose_name='Nº Ordem')), + ('resultado', models.TextField(blank=True, null=True)), + ('tipo_votacao', models.IntegerField(choices=[(1, 'Simbólica'), (2, 'Nominal'), (3, 'Secreta')], verbose_name='Tipo de votação')), ('materia', models.ForeignKey(to='materia.MateriaLegislativa')), ], options={ - 'verbose_name': 'Mat\xe9ria da Ordem do Dia', - 'verbose_name_plural': 'Mat\xe9rias da Ordem do Dia', + 'verbose_name': 'Matéria da Ordem do Dia', + 'verbose_name_plural': 'Matérias da Ordem do Dia', }, ), migrations.CreateModel( name='PresencaOrdemDia', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('data_ordem', models.DateField()), ('parlamentar', models.ForeignKey(to='parlamentares.Parlamentar')), ], options={ - 'verbose_name': 'Presen\xe7a da Ordem do Dia', - 'verbose_name_plural': 'Presen\xe7as da Ordem do Dia', + 'verbose_name': 'Presença da Ordem do Dia', + 'verbose_name_plural': 'Presenças da Ordem do Dia', }, ), migrations.CreateModel( name='RegistroVotacao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('numero_votos_sim', models.IntegerField(verbose_name='Sim')), - ('numero_votos_nao', models.IntegerField(verbose_name='N\xe3o')), - ('numero_abstencoes', models.IntegerField(verbose_name='Absten\xe7\xf5es')), - ('observacao', models.TextField(null=True, verbose_name='Observa\xe7\xf5es', blank=True)), + ('numero_votos_nao', models.IntegerField(verbose_name='Não')), + ('numero_abstencoes', models.IntegerField(verbose_name='Abstenções')), + ('observacao', models.TextField(blank=True, verbose_name='Observações', null=True)), ('materia', models.ForeignKey(to='materia.MateriaLegislativa')), ('ordem', models.ForeignKey(to='sessao.OrdemDia')), ], options={ - 'verbose_name': 'Vota\xe7\xe3o', - 'verbose_name_plural': 'Vota\xe7\xf5es', + 'verbose_name': 'Votação', + 'verbose_name_plural': 'Votações', }, ), migrations.CreateModel( name='SessaoPlenaria', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('cod_andamento_sessao', models.IntegerField(null=True, blank=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('cod_andamento_sessao', models.IntegerField(blank=True, null=True)), ('tipo_expediente', models.CharField(max_length=10)), ('data_inicio', models.DateField(verbose_name='Abertura')), ('dia', models.CharField(max_length=15)), - ('hora_inicio', models.CharField(max_length=5, verbose_name='Hor\xe1rio')), - ('hora_fim', models.CharField(max_length=5, null=True, verbose_name='Hor\xe1rio', blank=True)), - ('numero', models.IntegerField(verbose_name='N\xfamero')), - ('data_fim', models.DateField(null=True, verbose_name='Encerramento', blank=True)), - ('url_audio', models.CharField(max_length=150, null=True, verbose_name='URL Arquivo \xc1udio (Formatos MP3 / AAC)', blank=True)), - ('url_video', models.CharField(max_length=150, null=True, verbose_name='URL Arquivo V\xeddeo (Formatos MP4 / FLV / WebM)', blank=True)), - ('legislatura', models.ForeignKey(verbose_name='Legislatura', to='parlamentares.Legislatura')), - ('sessao_legislativa', models.ForeignKey(verbose_name='Sess\xe3o Legislativa', to='parlamentares.SessaoLegislativa')), + ('hora_inicio', models.CharField(max_length=5, verbose_name='Horário')), + ('hora_fim', models.CharField(max_length=5, blank=True, verbose_name='Horário', null=True)), + ('numero', models.IntegerField(verbose_name='Número')), + ('data_fim', models.DateField(blank=True, verbose_name='Encerramento', null=True)), + ('url_audio', models.CharField(max_length=150, blank=True, verbose_name='URL Arquivo Áudio (Formatos MP3 / AAC)', null=True)), + ('url_video', models.CharField(max_length=150, blank=True, verbose_name='URL Arquivo Vídeo (Formatos MP4 / FLV / WebM)', null=True)), + ('legislatura', models.ForeignKey(to='parlamentares.Legislatura', verbose_name='Legislatura')), + ('sessao_legislativa', models.ForeignKey(to='parlamentares.SessaoLegislativa', verbose_name='Sessão Legislativa')), ], options={ - 'verbose_name': 'Sess\xe3o Plen\xe1ria', - 'verbose_name_plural': 'Sess\xf5es Plen\xe1rias', + 'verbose_name': 'Sessão Plenária', + 'verbose_name_plural': 'Sessões Plenárias', }, ), migrations.CreateModel( name='SessaoPlenariaPresenca', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_sessao', models.DateField(null=True, blank=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), + ('data_sessao', models.DateField(blank=True, null=True)), ('parlamentar', models.ForeignKey(to='parlamentares.Parlamentar')), ('sessao_plen', models.ForeignKey(to='sessao.SessaoPlenaria')), ], options={ - 'verbose_name': 'Presen\xe7a em Sess\xe3o Plen\xe1ria', - 'verbose_name_plural': 'Presen\xe7as em Sess\xf5es Plen\xe1rias', + 'verbose_name': 'Presença em Sessão Plenária', + 'verbose_name_plural': 'Presenças em Sessões Plenárias', }, ), migrations.CreateModel( name='TipoExpediente', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('nome', models.CharField(max_length=100, verbose_name='Tipo')), ], options={ @@ -170,48 +170,48 @@ class Migration(migrations.Migration): migrations.CreateModel( name='TipoResultadoVotacao', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('nome', models.CharField(max_length=100, verbose_name='Tipo')), ], options={ - 'verbose_name': 'Tipo de Resultado de Vota\xe7\xe3o', - 'verbose_name_plural': 'Tipos de Resultado de Vota\xe7\xe3o', + 'verbose_name': 'Tipo de Resultado de Votação', + 'verbose_name_plural': 'Tipos de Resultado de Votação', }, ), migrations.CreateModel( name='TipoSessaoPlenaria', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('nome', models.CharField(max_length=30, verbose_name='Tipo')), - ('quorum_minimo', models.IntegerField(verbose_name='Qu\xf3rum m\xednimo')), + ('quorum_minimo', models.IntegerField(verbose_name='Quórum mínimo')), ], options={ - 'verbose_name': 'Tipo de Sess\xe3o Plen\xe1ria', - 'verbose_name_plural': 'Tipos de Sess\xe3o Plen\xe1ria', + 'verbose_name': 'Tipo de Sessão Plenária', + 'verbose_name_plural': 'Tipos de Sessão Plenária', }, ), migrations.CreateModel( name='VotoParlamentar', fields=[ - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), ('voto', models.CharField(max_length=10)), ('parlamentar', models.ForeignKey(to='parlamentares.Parlamentar')), ('votacao', models.ForeignKey(to='sessao.RegistroVotacao')), ], options={ - 'verbose_name': 'Registro de Vota\xe7\xe3o de Parlamentar', - 'verbose_name_plural': 'Registros de Vota\xe7\xf5es de Parlamentares', + 'verbose_name': 'Registro de Votação de Parlamentar', + 'verbose_name_plural': 'Registros de Votações de Parlamentares', }, ), migrations.AddField( model_name='sessaoplenaria', name='tipo', - field=models.ForeignKey(verbose_name='Tipo', to='sessao.TipoSessaoPlenaria'), + field=models.ForeignKey(to='sessao.TipoSessaoPlenaria', verbose_name='Tipo'), ), migrations.AddField( model_name='registrovotacao', name='tipo_resultado_votacao', - field=models.ForeignKey(verbose_name='Resultado da Vota\xe7\xe3o', to='sessao.TipoResultadoVotacao'), + field=models.ForeignKey(to='sessao.TipoResultadoVotacao', verbose_name='Resultado da Votação'), ), migrations.AddField( model_name='presencaordemdia',