diff --git a/base/migrations/0001_initial.py b/base/migrations/0001_initial.py new file mode 100644 index 000000000..6c3957624 --- /dev/null +++ b/base/migrations/0001_initial.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='CasaLegislativa', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('cod_casa', models.CharField(max_length=100, verbose_name='C\xf3digo')), + ('nom_casa', models.CharField(max_length=100, verbose_name='Nome')), + ('sgl_casa', models.CharField(max_length=100, verbose_name='Sigla')), + ('end_casa', models.CharField(max_length=100, verbose_name='Endere\xe7o')), + ('num_cep', models.CharField(max_length=100, verbose_name='CEP')), + ('municipio', models.CharField(max_length=100, verbose_name='Munic\xedpio')), + ('sgl_uf', models.CharField(max_length=100, verbose_name='UF')), + ('num_tel', models.CharField(max_length=100, verbose_name='Telefone')), + ('num_fax', models.CharField(max_length=100, verbose_name='Fax')), + ('txt_senha_inicial', models.CharField(max_length=100, verbose_name='Senha')), + ('cor_fundo', models.CharField(max_length=100, verbose_name='Cor de fundo')), + ('cor_borda', models.CharField(max_length=100, verbose_name='Cor da borda')), + ('cor_principal', models.CharField(max_length=100, verbose_name='Cor principal')), + ('nom_logo', models.CharField(max_length=100, verbose_name='Logotipo')), + ('end_web_casa', models.CharField(max_length=100, verbose_name='HomePage')), + ('end_email_casa', models.CharField(max_length=100, verbose_name='E-mail')), + ('informacao_geral', models.CharField(max_length=100, verbose_name='Informa\xe7\xe3o Geral')), + ], + options={ + 'verbose_name': 'Casa Legislativa', + 'verbose_name_plural': 'Casas Legislativas', + }, + ), + ] diff --git a/comissoes/migrations/0001_initial.py b/comissoes/migrations/0001_initial.py index 54208d335..a406eaee7 100644 --- a/comissoes/migrations/0001_initial.py +++ b/comissoes/migrations/0001_initial.py @@ -15,75 +15,102 @@ class Migration(migrations.Migration): name='CargoComissao', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nome', models.CharField(max_length=50)), - ('unico', models.BooleanField()), + ('nome', models.CharField(max_length=50, verbose_name='Cargo')), + ('unico', models.BooleanField(verbose_name='\xdanico')), ], + options={ + 'verbose_name': 'Cargo de Comiss\xe3o', + 'verbose_name_plural': 'Cargos de Comiss\xe3o', + }, ), migrations.CreateModel( name='Comissao', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nome_comissao', models.CharField(max_length=60)), - ('sigla_comissao', models.CharField(max_length=10)), - ('data_criacao', models.DateField()), - ('data_extincao', models.DateField(null=True, blank=True)), - ('nome_apelido_temp', models.CharField(max_length=100, null=True, blank=True)), - ('data_instalacao_temp', models.DateField(null=True, blank=True)), - ('data_final_prevista_temp', models.DateField(null=True, blank=True)), - ('data_prorrogada_temp', models.DateField(null=True, blank=True)), - ('data_fim_comissao', models.DateField(null=True, blank=True)), - ('nome_secretario', models.CharField(max_length=30, null=True, blank=True)), - ('numero_tel_reuniao', models.CharField(max_length=15, null=True, blank=True)), - ('endereco_secretaria', models.CharField(max_length=100, null=True, blank=True)), - ('numero_tel_secretaria', models.CharField(max_length=15, null=True, blank=True)), - ('numero_fax_secretaria', models.CharField(max_length=15, null=True, blank=True)), - ('descricao_agenda_reuniao', models.CharField(max_length=100, null=True, blank=True)), - ('local_reuniao', models.CharField(max_length=100, null=True, blank=True)), - ('txt_finalidade', models.TextField(null=True, blank=True)), - ('endereco_email', models.CharField(max_length=100, null=True, blank=True)), + ('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)), + ('nome_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)), + ('nome_secretario', models.CharField(max_length=30, null=True, verbose_name='Secret\xe1rio', blank=True)), + ('numero_tel_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)), + ('numero_tel_secretaria', models.CharField(max_length=15, null=True, verbose_name='Tel. Secretaria', blank=True)), + ('numero_fax_secretaria', models.CharField(max_length=15, null=True, verbose_name='Fax Secretaria', blank=True)), + ('descricao_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)), + ('txt_finalidade', models.TextField(null=True, verbose_name='Finalidade', blank=True)), + ('email', models.CharField(max_length=100, null=True, verbose_name='E-mail', blank=True)), ('unid_deliberativa', models.BooleanField()), ], + options={ + 'verbose_name': 'Comiss\xe3o', + 'verbose_name_plural': 'Comiss\xf5es', + }, ), migrations.CreateModel( - name='ComposicaoComissao', + name='Composicao', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('titular', models.BooleanField()), - ('data_designacao', models.DateField()), - ('data_desligamento', models.DateField(null=True, blank=True)), - ('descricao_motivo_desligamento', models.CharField(max_length=150, null=True, blank=True)), - ('obs_composicao', models.CharField(max_length=150, null=True, blank=True)), - ('cargo', models.ForeignKey(to='comissoes.CargoComissao')), ('comissao', models.ForeignKey(to='comissoes.Comissao')), + ], + ), + migrations.CreateModel( + name='Participacao', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('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)), + ('cargo', models.ForeignKey(to='comissoes.CargoComissao')), + ('composicao', models.ForeignKey(to='comissoes.Composicao')), ('parlamentar', models.ForeignKey(to='parlamentares.Parlamentar')), ], + options={ + 'verbose_name': 'Composi\xe7\xe3o de Comiss\xe3o', + 'verbose_name_plural': 'Composi\xe7\xf5es de Comiss\xe3o', + }, ), migrations.CreateModel( - name='PeriodoCompComissao', + name='Periodo', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_inicio_periodo', models.DateField()), - ('data_fim_periodo', models.DateField(null=True, blank=True)), + ('data_inicio', models.DateField(verbose_name='Data In\xedcio')), + ('data_fim', models.DateField(null=True, verbose_name='Data Fim', blank=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', + }, ), migrations.CreateModel( name='TipoComissao', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nome_tipo_comissao', models.CharField(max_length=50)), - ('sigla_natureza_comissao', models.CharField(max_length=1)), - ('sigla_tipo_comissao', models.CharField(max_length=10)), - ('descricao_dispositivo_regimental', models.CharField(max_length=50, null=True, blank=True)), + ('nome', models.CharField(max_length=50, verbose_name='Nome')), + ('natureza_comissao', models.CharField(default=b'P', max_length=1, verbose_name='Natureza', choices=[(b'T', 'Tempor\xe1ria'), (b'P', 'Permanente')])), + ('sigla', models.CharField(max_length=10, verbose_name='Sigla')), + ('dispositivo_regimental', models.CharField(max_length=50, null=True, verbose_name='Dispositivo Regimental', blank=True)), ], + options={ + 'verbose_name': 'Tipo de Comiss\xe3o', + 'verbose_name_plural': 'Tipos de Comiss\xe3o', + }, ), migrations.AddField( - model_name='composicaocomissao', - name='periodo_comp', - field=models.ForeignKey(to='comissoes.PeriodoCompComissao'), + model_name='composicao', + name='periodo', + field=models.ForeignKey(to='comissoes.Periodo'), ), migrations.AddField( model_name='comissao', - name='tipo_comissao', - field=models.ForeignKey(to='comissoes.TipoComissao'), + name='tipo', + field=models.ForeignKey(verbose_name='Tipo', to='comissoes.TipoComissao'), ), ] diff --git a/lexml/migrations/0001_initial.py b/lexml/migrations/0001_initial.py index 702adc2d9..e6873475e 100644 --- a/lexml/migrations/0001_initial.py +++ b/lexml/migrations/0001_initial.py @@ -14,27 +14,35 @@ class Migration(migrations.Migration): name='LexmlRegistroProvedor', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('id_provedor', models.IntegerField()), - ('nome_provedor', models.CharField(max_length=255)), + ('id_provedor', models.IntegerField(verbose_name='Id do provedor')), + ('nome_provedor', models.CharField(max_length=255, verbose_name='Nome do provedor')), ('sigla_provedor', models.CharField(max_length=15)), - ('adm_email', models.CharField(max_length=50, null=True, blank=True)), - ('nome_responsavel', models.CharField(max_length=255, null=True, blank=True)), + ('adm_email', 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)), ('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(null=True, verbose_name='Id do respons\xe1vel', blank=True)), + ('xml_provedor', models.TextField(null=True, verbose_name='XML fornecido pela equipe do LexML:', blank=True)), ], + options={ + 'verbose_name': 'Provedor Lexml', + 'verbose_name_plural': 'Provedores Lexml', + }, ), migrations.CreateModel( name='LexmlRegistroPublicador', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('id_publicador', models.IntegerField()), - ('nome_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)), - ('nome_responsavel', models.CharField(max_length=255, null=True, blank=True)), + ('id_publicador', models.IntegerField(verbose_name='Id do publicador')), + ('nome_publicador', models.CharField(max_length=255, verbose_name='Nome do publicador')), + ('adm_email', 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)), ('tipo', models.CharField(max_length=50)), - ('id_responsavel', models.IntegerField()), + ('id_responsavel', models.IntegerField(verbose_name='Id do respons\xe1vel')), ], + options={ + 'verbose_name': 'Publicador Lexml', + 'verbose_name_plural': 'Publicadores Lexml', + }, ), ] diff --git a/materia/migrations/0001_initial.py b/materia/migrations/0001_initial.py index 28a52a892..d328f5ec6 100644 --- a/materia/migrations/0001_initial.py +++ b/materia/migrations/0001_initial.py @@ -16,17 +16,25 @@ class Migration(migrations.Migration): name='AcompMateria', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('endereco_email', models.CharField(max_length=100)), + ('endereco_email', models.CharField(max_length=100, verbose_name='Endere\xe7o de E-mail')), ('txt_hash', models.CharField(max_length=8)), ], + options={ + 'verbose_name': 'Acompanhamento de Mat\xe9ria', + 'verbose_name_plural': 'Acompanhamentos de Mat\xe9ria', + }, ), migrations.CreateModel( name='Anexada', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_anexacao', models.DateField()), - ('data_desanexacao', models.DateField(null=True, blank=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)), ], + options={ + 'verbose_name': 'Anexada', + 'verbose_name_plural': 'Anexadas', + }, ), migrations.CreateModel( name='AssuntoMateria', @@ -35,26 +43,38 @@ class Migration(migrations.Migration): ('descricao_assunto', models.CharField(max_length=200)), ('descricao_dispositivo', models.CharField(max_length=50)), ], + options={ + 'verbose_name': 'Assunto de Mat\xe9ria', + 'verbose_name_plural': 'Assuntos de Mat\xe9ria', + }, ), migrations.CreateModel( name='Autor', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nome_autor', models.CharField(max_length=50, null=True, blank=True)), + ('nome_autor', models.CharField(max_length=50, null=True, verbose_name='Autor', blank=True)), ('descricao_cargo', models.CharField(max_length=50, null=True, blank=True)), ('col_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)), ], + options={ + 'verbose_name': 'Autor', + 'verbose_name_plural': 'Autores', + }, ), migrations.CreateModel( name='Autoria', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('primeiro_autor', models.BooleanField()), + ('primeiro_autor', models.BooleanField(verbose_name='Primeiro Autor')), ('autor', models.ForeignKey(to='materia.Autor')), ], + options={ + 'verbose_name': 'Autoria', + 'verbose_name_plural': 'Autorias', + }, ), migrations.CreateModel( name='DespachoInicial', @@ -63,17 +83,25 @@ class Migration(migrations.Migration): ('numero_ordem', models.IntegerField()), ('comissao', models.ForeignKey(to='comissoes.Comissao')), ], + options={ + 'verbose_name': 'Despacho Inicial', + 'verbose_name_plural': 'Despachos Iniciais', + }, ), migrations.CreateModel( name='DocumentoAcessorio', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nome_documento', models.CharField(max_length=30)), - ('data_documento', models.DateField(null=True, blank=True)), - ('nome_autor_documento', models.CharField(max_length=50, null=True, blank=True)), - ('txt_ementa', models.TextField(null=True, blank=True)), + ('nome_documento', models.CharField(max_length=30, verbose_name='Descri\xe7\xe3o')), + ('data_documento', models.DateField(null=True, verbose_name='Data', blank=True)), + ('nome_autor_documento', models.CharField(max_length=50, null=True, verbose_name='Autor', blank=True)), + ('txt_ementa', models.TextField(null=True, verbose_name='Ementa', blank=True)), ('txt_indexacao', models.TextField(null=True, blank=True)), ], + options={ + 'verbose_name': 'Documento Acess\xf3rio', + 'verbose_name_plural': 'Documentos Acess\xf3rios', + }, ), migrations.CreateModel( name='MateriaAssunto', @@ -81,63 +109,83 @@ class Migration(migrations.Migration): ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('assunto', models.ForeignKey(to='materia.AssuntoMateria')), ], + options={ + 'verbose_name': 'Rela\xe7\xe3o Mat\xe9ria - Assunto', + 'verbose_name_plural': 'Rela\xe7\xf5es Mat\xe9ria - 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, blank=True)), - ('numero_ident_basica', models.IntegerField()), - ('ano_ident_basica', models.SmallIntegerField()), - ('data_apresentacao', models.DateField(null=True, blank=True)), - ('tipo_apresentacao', models.CharField(max_length=1, null=True, blank=True)), - ('data_publicacao', models.DateField(null=True, blank=True)), - ('numero_origem_externa', models.CharField(max_length=5, null=True, blank=True)), - ('ano_origem_externa', models.SmallIntegerField(null=True, blank=True)), - ('data_origem_externa', models.DateField(null=True, blank=True)), - ('nome_apelido', models.CharField(max_length=50, null=True, blank=True)), - ('numero_dias_prazo', models.IntegerField(null=True, blank=True)), - ('data_fim_prazo', models.DateField(null=True, blank=True)), - ('indicador_tramitacao', models.BooleanField()), - ('polemica', models.NullBooleanField()), - ('descricao_objeto', models.CharField(max_length=150, null=True, blank=True)), - ('complementar', models.NullBooleanField()), - ('txt_ementa', models.TextField()), - ('txt_indexacao', models.TextField(null=True, blank=True)), - ('txt_observacao', models.TextField(null=True, blank=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(max_length=1, null=True, verbose_name='Tipo de Apresenta\xe7\xe3o', blank=True)), + ('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)), + ('nome_apelido', models.CharField(max_length=50, null=True, verbose_name='Apelido', blank=True)), + ('numero_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)), + ('indicador_tramitacao', models.BooleanField(verbose_name='Em Tramita\xe7\xe3o?')), + ('polemica', models.NullBooleanField(verbose_name='Mat\xe9ria Pol\xeamica?')), + ('descricao_objeto', models.CharField(max_length=150, null=True, verbose_name='Objeto', blank=True)), + ('complementar', models.NullBooleanField(verbose_name='\xc9 Complementar?')), + ('txt_ementa', models.TextField(verbose_name='Ementa')), + ('txt_indexacao', models.TextField(null=True, verbose_name='Indexa\xe7\xe3o', blank=True)), + ('txt_observacao', models.TextField(null=True, verbose_name='Observa\xe7\xe3o', blank=True)), ('txt_resultado', models.TextField(null=True, blank=True)), ('anexadas', models.ManyToManyField(related_name='anexo_de', through='materia.Anexada', to='materia.MateriaLegislativa')), ], + options={ + 'verbose_name': 'Mat\xe9ria Legislativa', + 'verbose_name_plural': 'Mat\xe9rias Legislativas', + }, ), migrations.CreateModel( name='Numeracao', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('numero_ordem', models.IntegerField()), - ('numero_materia', models.CharField(max_length=5)), - ('ano_materia', models.SmallIntegerField()), - ('data_materia', models.DateField(null=True, blank=True)), + ('numero_materia', models.CharField(max_length=5, verbose_name='N\xfamero')), + ('ano_materia', models.SmallIntegerField(verbose_name='Ano')), + ('data_materia', models.DateField(null=True, verbose_name='Data', blank=True)), ('materia', models.ForeignKey(to='materia.MateriaLegislativa')), ], + options={ + 'verbose_name': 'Numera\xe7\xe3o', + 'verbose_name_plural': 'Numera\xe7\xf5es', + }, ), migrations.CreateModel( name='Orgao', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nome_orgao', models.CharField(max_length=60)), - ('sigla_orgao', models.CharField(max_length=10)), - ('unid_deliberativa', models.BooleanField()), - ('endereco_orgao', models.CharField(max_length=100, null=True, blank=True)), - ('numero_tel_orgao', models.CharField(max_length=50, null=True, blank=True)), + ('nome_orgao', models.CharField(max_length=60, verbose_name='Nome')), + ('sigla_orgao', models.CharField(max_length=10, verbose_name='Sigla')), + ('unid_deliberativa', models.BooleanField(verbose_name='Unidade Deliberativa')), + ('endereco_orgao', models.CharField(max_length=100, null=True, verbose_name='Endere\xe7o', blank=True)), + ('numero_tel_orgao', models.CharField(max_length=50, null=True, verbose_name='Telefone', blank=True)), ], + options={ + 'verbose_name': '\xd3rg\xe3o', + 'verbose_name_plural': '\xd3rg\xe3os', + }, ), migrations.CreateModel( name='Origem', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('sigla_origem', models.CharField(max_length=10)), - ('nome_origem', models.CharField(max_length=50)), + ('sigla_origem', models.CharField(max_length=10, verbose_name='Sigla')), + ('nome_origem', models.CharField(max_length=50, verbose_name='Nome')), ], + options={ + 'verbose_name': 'Origem', + 'verbose_name_plural': 'Origens', + }, ), migrations.CreateModel( name='Parecer', @@ -148,14 +196,18 @@ class Migration(migrations.Migration): ('txt_parecer', models.TextField(null=True, blank=True)), ('materia', models.ForeignKey(to='materia.MateriaLegislativa')), ], + options={ + 'verbose_name': 'Parecer', + 'verbose_name_plural': 'Pareceres', + }, ), migrations.CreateModel( name='Proposicao', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_envio', models.DateTimeField()), + ('data_envio', models.DateTimeField(null=True)), ('data_recebimento', models.DateTimeField(null=True, blank=True)), - ('txt_descricao', models.CharField(max_length=100)), + ('txt_descricao', models.CharField(max_length=100, verbose_name='Descri\xe7\xe3o')), ('cod_mat_ou_doc', models.IntegerField(null=True, blank=True)), ('data_devolucao', models.DateTimeField(null=True, blank=True)), ('txt_justif_devolucao', models.CharField(max_length=200, null=True, blank=True)), @@ -163,6 +215,10 @@ class Migration(migrations.Migration): ('autor', models.ForeignKey(to='materia.Autor')), ('materia', models.ForeignKey(blank=True, to='materia.MateriaLegislativa', null=True)), ], + options={ + 'verbose_name': 'Proposi\xe7\xe3o', + 'verbose_name_plural': 'Proposi\xe7\xf5es', + }, ), migrations.CreateModel( name='RegimeTramitacao', @@ -170,112 +226,152 @@ class Migration(migrations.Migration): ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('descricao_regime_tramitacao', models.CharField(max_length=50)), ], + options={ + 'verbose_name': 'Regime Tramita\xe7\xe3o', + 'verbose_name_plural': 'Regimes Tramita\xe7\xe3o', + }, ), migrations.CreateModel( name='Relatoria', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_desig_relator', models.DateField()), - ('data_destit_relator', models.DateField(null=True, blank=True)), - ('comissao', models.ForeignKey(blank=True, to='comissoes.Comissao', null=True)), + ('data_desig_relator', models.DateField(verbose_name='Data Designa\xe7\xe3o')), + ('data_destit_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)), ('materia', models.ForeignKey(to='materia.MateriaLegislativa')), - ('parlamentar', models.ForeignKey(to='parlamentares.Parlamentar')), + ('parlamentar', models.ForeignKey(verbose_name='Parlamentar', to='parlamentares.Parlamentar')), ], + options={ + 'verbose_name': 'Relatoria', + 'verbose_name_plural': 'Relatorias', + }, ), migrations.CreateModel( name='StatusTramitacao', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('sigla_status', models.CharField(max_length=10)), - ('descricao_status', models.CharField(max_length=60)), + ('sigla_status', models.CharField(max_length=10, verbose_name='Sigla')), + ('descricao_status', models.CharField(max_length=60, verbose_name='Descri\xe7\xe3o')), ('fim_tramitacao', models.BooleanField()), ('retorno_tramitacao', models.BooleanField()), ], + options={ + 'verbose_name': 'Status de Tramita\xe7\xe3o', + 'verbose_name_plural': 'Status de Tramita\xe7\xe3o', + }, ), migrations.CreateModel( name='TipoAutor', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('descricao_tipo_autor', models.CharField(max_length=50)), + ('descricao_tipo_autor', models.CharField(max_length=50, verbose_name='Descri\xe7\xe3o')), ], + options={ + 'verbose_name': 'Tipo de Autor', + 'verbose_name_plural': 'Tipos de Autor', + }, ), migrations.CreateModel( name='TipoDocumento', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('descricao_tipo_documento', models.CharField(max_length=50)), + ('descricao_tipo_documento', models.CharField(max_length=50, verbose_name='Tipo Documento')), ], + options={ + 'verbose_name': 'Tipo de Documento', + 'verbose_name_plural': 'Tipos de Documento', + }, ), migrations.CreateModel( name='TipoFimRelatoria', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('descricao_fim_relatoria', models.CharField(max_length=50)), + ('descricao_fim_relatoria', models.CharField(max_length=50, verbose_name='Tipo Fim Relatoria')), ], + options={ + 'verbose_name': 'Tipo Fim de Relatoria', + 'verbose_name_plural': 'Tipos Fim de Relatoria', + }, ), migrations.CreateModel( name='TipoMateriaLegislativa', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('sigla_tipo_materia', models.CharField(max_length=5)), - ('descricao_tipo_materia', models.CharField(max_length=50)), + ('sigla_tipo_materia', models.CharField(max_length=5, verbose_name='Sigla')), + ('descricao_tipo_materia', models.CharField(max_length=50, verbose_name='Descri\xe7\xe3o ')), ('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', + }, ), migrations.CreateModel( name='TipoProposicao', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('descricao_tipo_proposicao', models.CharField(max_length=50)), - ('mat_ou_doc', models.BooleanField()), - ('tipo_mat_ou_doc', models.IntegerField()), - ('nome_modelo', models.CharField(max_length=50)), + ('descricao_tipo_proposicao', models.CharField(max_length=50, verbose_name='Descri\xe7\xe3o')), + ('mat_ou_doc', models.BooleanField(verbose_name='Gera')), + ('tipo_mat_ou_doc', models.IntegerField(verbose_name='Tipo Documento')), + ('nome_modelo', models.CharField(max_length=50, verbose_name='Modelo XML')), ], + options={ + 'verbose_name': 'Tipo de Proposi\xe7\xe3o', + 'verbose_name_plural': 'Tipos de Proposi\xe7\xf5es', + }, ), 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, blank=True)), - ('data_encaminha', models.DateField(null=True, blank=True)), + ('data_tramitacao', models.DateField(null=True, verbose_name='Data Tramita\xe7\xe3o', blank=True)), + ('data_encaminha', models.DateField(null=True, verbose_name='Data Encaminhamento', blank=True)), ('ult_tramitacao', models.BooleanField()), - ('urgencia', models.BooleanField()), - ('sigla_turno', models.CharField(max_length=1, null=True, blank=True)), - ('txt_tramitacao', models.TextField(null=True, blank=True)), - ('data_fim_prazo', models.DateField(null=True, blank=True)), + ('urgencia', models.BooleanField(verbose_name='Urgente ?')), + ('sigla_turno', models.CharField(max_length=1, null=True, verbose_name='Turno', blank=True)), + ('txt_tramitacao', 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)), ('materia', models.ForeignKey(to='materia.MateriaLegislativa')), - ('status', models.ForeignKey(blank=True, to='materia.StatusTramitacao', null=True)), + ('status', models.ForeignKey(verbose_name='Status', blank=True, to='materia.StatusTramitacao', null=True)), ], + options={ + 'verbose_name': 'Tramita\xe7\xe3o', + 'verbose_name_plural': 'Tramita\xe7\xf5es', + }, ), migrations.CreateModel( name='UnidadeTramitacao', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('comissao', models.ForeignKey(blank=True, to='comissoes.Comissao', null=True)), - ('orgao', models.ForeignKey(blank=True, to='materia.Orgao', null=True)), - ('parlamentar', models.ForeignKey(blank=True, to='parlamentares.Parlamentar', null=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)), ], + options={ + 'verbose_name': 'Unidade de Tramita\xe7\xe3o', + 'verbose_name_plural': 'Unidades de Tramita\xe7\xe3o', + }, ), migrations.AddField( model_name='tramitacao', name='unid_tram_dest', - field=models.ForeignKey(related_name='+', blank=True, to='materia.UnidadeTramitacao', null=True), + field=models.ForeignKey(related_name='+', verbose_name='Unidade Destino', blank=True, to='materia.UnidadeTramitacao', null=True), ), migrations.AddField( model_name='tramitacao', name='unid_tram_local', - field=models.ForeignKey(related_name='+', blank=True, to='materia.UnidadeTramitacao', null=True), + field=models.ForeignKey(related_name='+', verbose_name='Unidade Local', blank=True, to='materia.UnidadeTramitacao', null=True), ), migrations.AddField( model_name='relatoria', name='tipo_fim_relatoria', - field=models.ForeignKey(blank=True, to='materia.TipoFimRelatoria', null=True), + field=models.ForeignKey(verbose_name='Motivo Fim Relatoria', blank=True, to='materia.TipoFimRelatoria', null=True), ), migrations.AddField( model_name='proposicao', name='tipo', - field=models.ForeignKey(to='materia.TipoProposicao'), + field=models.ForeignKey(verbose_name='Tipo', to='materia.TipoProposicao'), ), migrations.AddField( model_name='parecer', @@ -285,27 +381,27 @@ class Migration(migrations.Migration): migrations.AddField( model_name='numeracao', name='tipo_materia', - field=models.ForeignKey(to='materia.TipoMateriaLegislativa'), + field=models.ForeignKey(verbose_name='Tipo de Mat\xe9ria', to='materia.TipoMateriaLegislativa'), ), migrations.AddField( model_name='materialegislativa', name='local_origem_externa', - field=models.ForeignKey(blank=True, to='materia.Origem', null=True), + field=models.ForeignKey(verbose_name='Local Origem', blank=True, to='materia.Origem', null=True), ), migrations.AddField( model_name='materialegislativa', name='regime_tramitacao', - field=models.ForeignKey(to='materia.RegimeTramitacao'), + field=models.ForeignKey(verbose_name='Regime Tramita\xe7\xe3o', to='materia.RegimeTramitacao'), ), migrations.AddField( model_name='materialegislativa', name='tipo_id_basica', - field=models.ForeignKey(to='materia.TipoMateriaLegislativa'), + field=models.ForeignKey(verbose_name='Tipo', to='materia.TipoMateriaLegislativa'), ), migrations.AddField( model_name='materialegislativa', name='tipo_origem_externa', - field=models.ForeignKey(related_name='+', blank=True, to='materia.TipoMateriaLegislativa', null=True), + field=models.ForeignKey(related_name='+', verbose_name='Tipo', blank=True, to='materia.TipoMateriaLegislativa', null=True), ), migrations.AddField( model_name='materiaassunto', @@ -320,7 +416,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='documentoacessorio', name='tipo', - field=models.ForeignKey(to='materia.TipoDocumento'), + field=models.ForeignKey(verbose_name='Tipo', to='materia.TipoDocumento'), ), migrations.AddField( model_name='despachoinicial', @@ -335,7 +431,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='autor', name='tipo', - field=models.ForeignKey(to='materia.TipoAutor'), + field=models.ForeignKey(verbose_name='Tipo', to='materia.TipoAutor'), ), migrations.AddField( model_name='anexada', diff --git a/materia/migrations/0002_auto_20150619_1807.py b/materia/migrations/0002_auto_20150619_1807.py deleted file mode 100644 index a854422d9..000000000 --- a/materia/migrations/0002_auto_20150619_1807.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import models, migrations - - -class Migration(migrations.Migration): - - dependencies = [ - ('materia', '0001_initial'), - ] - - operations = [ - migrations.AlterField( - model_name='proposicao', - name='data_envio', - field=models.DateTimeField(null=True), - ), - ] diff --git a/norma/migrations/0001_initial.py b/norma/migrations/0001_initial.py index d51496404..4cc374e46 100644 --- a/norma/migrations/0001_initial.py +++ b/norma/migrations/0001_initial.py @@ -15,59 +15,75 @@ class Migration(migrations.Migration): name='AssuntoNorma', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('descricao_assunto', models.CharField(max_length=50)), - ('descricao_estendida', models.CharField(max_length=250, null=True, blank=True)), + ('descricao_assunto', models.CharField(max_length=50, verbose_name='Assunto')), + ('descricao_estendida', models.CharField(max_length=250, null=True, verbose_name='Descri\xe7\xe3o', blank=True)), ], + options={ + 'verbose_name': 'Assunto de Norma', + 'verbose_name_plural': 'Assuntos de Norma', + }, ), migrations.CreateModel( name='LegislacaoCitada', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('descricao_disposicoes', models.CharField(max_length=15, null=True, blank=True)), - ('descricao_parte', models.CharField(max_length=8, null=True, blank=True)), - ('descricao_livro', models.CharField(max_length=7, null=True, blank=True)), - ('descricao_titulo', models.CharField(max_length=7, null=True, blank=True)), - ('descricao_capitulo', models.CharField(max_length=7, null=True, blank=True)), - ('descricao_secao', models.CharField(max_length=7, null=True, blank=True)), - ('descricao_subsecao', models.CharField(max_length=7, null=True, blank=True)), - ('descricao_artigo', models.CharField(max_length=4, null=True, blank=True)), - ('descricao_paragrafo', models.CharField(max_length=3, null=True, blank=True)), - ('descricao_inciso', models.CharField(max_length=10, null=True, blank=True)), - ('descricao_alinea', models.CharField(max_length=3, null=True, blank=True)), - ('descricao_item', models.CharField(max_length=3, null=True, blank=True)), + ('descricao_disposicoes', models.CharField(max_length=15, null=True, verbose_name='Disposi\xe7\xe3o', blank=True)), + ('descricao_parte', models.CharField(max_length=8, null=True, verbose_name='Parte', blank=True)), + ('descricao_livro', models.CharField(max_length=7, null=True, verbose_name='Livro', blank=True)), + ('descricao_titulo', models.CharField(max_length=7, null=True, verbose_name='T\xedtulo', blank=True)), + ('descricao_capitulo', models.CharField(max_length=7, null=True, verbose_name='Cap\xedtulo', blank=True)), + ('descricao_secao', models.CharField(max_length=7, null=True, verbose_name='Se\xe7\xe3o', blank=True)), + ('descricao_subsecao', models.CharField(max_length=7, null=True, verbose_name='Subse\xe7\xe3o', blank=True)), + ('descricao_artigo', models.CharField(max_length=4, null=True, verbose_name='Artigo', blank=True)), + ('descricao_paragrafo', models.CharField(max_length=3, null=True, verbose_name='Par\xe1grafo', blank=True)), + ('descricao_inciso', models.CharField(max_length=10, null=True, verbose_name='Inciso', blank=True)), + ('descricao_alinea', models.CharField(max_length=3, null=True, verbose_name='Al\xednea', blank=True)), + ('descricao_item', models.CharField(max_length=3, null=True, verbose_name='Item', blank=True)), ('materia', models.ForeignKey(to='materia.MateriaLegislativa')), ], + options={ + 'verbose_name': 'Mat\xe9ria Legislativa', + 'verbose_name_plural': 'Mat\xe9rias Legislativas', + }, ), migrations.CreateModel( name='NormaJuridica', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('numero_norma', models.IntegerField()), - ('ano_norma', models.SmallIntegerField()), - ('tipo_esfera_federacao', models.CharField(max_length=1)), - ('data_norma', models.DateField(null=True, blank=True)), - ('data_publicacao', models.DateField(null=True, blank=True)), - ('descricao_veiculo_publicacao', models.CharField(max_length=30, null=True, blank=True)), - ('numero_pag_inicio_publ', models.IntegerField(null=True, blank=True)), - ('numero_pag_fim_publ', models.IntegerField(null=True, blank=True)), - ('txt_ementa', models.TextField()), - ('txt_indexacao', models.TextField(null=True, blank=True)), - ('txt_observacao', models.TextField(null=True, blank=True)), - ('complemento', models.NullBooleanField()), + ('numero_norma', models.IntegerField(verbose_name='N\xfamero')), + ('ano_norma', models.SmallIntegerField(verbose_name='Ano')), + ('tipo_esfera_federacao', models.CharField(max_length=1, verbose_name='Esfera Federa\xe7\xe3o')), + ('data_norma', models.DateField(null=True, verbose_name='Data', blank=True)), + ('data_publicacao', models.DateField(null=True, verbose_name='Data Publica\xe7\xe3o', blank=True)), + ('descricao_veiculo_publicacao', models.CharField(max_length=30, null=True, verbose_name='Ve\xedculo Publica\xe7\xe3o', blank=True)), + ('numero_pag_inicio_publ', models.IntegerField(null=True, verbose_name='Pg. In\xedcio', blank=True)), + ('numero_pag_fim_publ', models.IntegerField(null=True, verbose_name='Pg. Fim', blank=True)), + ('txt_ementa', models.TextField(verbose_name='Ementa')), + ('txt_indexacao', models.TextField(null=True, verbose_name='Indexa\xe7\xe3o', blank=True)), + ('txt_observacao', models.TextField(null=True, verbose_name='Observa\xe7\xe3o', blank=True)), + ('complemento', models.NullBooleanField(verbose_name='Complementar ?')), ('data_vigencia', models.DateField(null=True, blank=True)), ('timestamp', models.DateTimeField()), ('assunto', models.ForeignKey(to='norma.AssuntoNorma')), ('materia', models.ForeignKey(blank=True, to='materia.MateriaLegislativa', null=True)), ], + options={ + 'verbose_name': 'Norma Jur\xeddica', + 'verbose_name_plural': 'Normas Jur\xeddicas', + }, ), migrations.CreateModel( name='TipoNormaJuridica', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('voc_lexml', models.CharField(max_length=50, null=True, blank=True)), - ('sigla_tipo_norma', models.CharField(max_length=3)), - ('descricao_tipo_norma', models.CharField(max_length=50)), + ('voc_lexml', models.CharField(max_length=50, null=True, verbose_name='Equivalente LexML', blank=True)), + ('sigla_tipo_norma', models.CharField(max_length=3, verbose_name='Sigla')), + ('descricao_tipo_norma', models.CharField(max_length=50, verbose_name='Descri\xe7\xe3o')), ], + options={ + 'verbose_name': 'Tipo de Norma Jur\xeddica', + 'verbose_name_plural': 'Tipos de Norma Jur\xeddica', + }, ), migrations.CreateModel( name='VinculoNormaJuridica', @@ -77,11 +93,15 @@ class Migration(migrations.Migration): ('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', + }, ), migrations.AddField( model_name='normajuridica', name='tipo', - field=models.ForeignKey(to='norma.TipoNormaJuridica'), + field=models.ForeignKey(verbose_name='Tipo', to='norma.TipoNormaJuridica'), ), migrations.AddField( model_name='legislacaocitada', diff --git a/parlamentares/migrations/0001_initial.py b/parlamentares/migrations/0001_initial.py index 456633a40..f285a8b5c 100644 --- a/parlamentares/migrations/0001_initial.py +++ b/parlamentares/migrations/0001_initial.py @@ -14,17 +14,25 @@ class Migration(migrations.Migration): name='CargoMesa', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nome', models.CharField(max_length=50)), - ('unico', models.BooleanField()), + ('nome', models.CharField(max_length=50, verbose_name='Cargo na Mesa')), + ('unico', models.BooleanField(verbose_name='Cargo \xdanico')), ], + options={ + 'verbose_name': 'Cargo na Mesa', + 'verbose_name_plural': 'Cargos na Mesa', + }, ), migrations.CreateModel( name='Coligacao', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nome_coligacao', models.CharField(max_length=50)), - ('numero_votos_coligacao', models.IntegerField(null=True, blank=True)), + ('nome_coligacao', models.CharField(max_length=50, verbose_name='Nome')), + ('numero_votos_coligacao', models.IntegerField(null=True, verbose_name='N\xba Votos Recebidos', blank=True)), ], + options={ + 'verbose_name': 'Coliga\xe7\xe3o', + 'verbose_name_plural': 'Coliga\xe7\xf5es', + }, ), migrations.CreateModel( name='ComposicaoColigacao', @@ -39,35 +47,51 @@ class Migration(migrations.Migration): ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('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', + }, ), migrations.CreateModel( name='Dependente', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nome_dependente', models.CharField(max_length=50)), - ('sexo', models.CharField(max_length=1)), - ('data_nascimento', models.DateField(null=True, blank=True)), - ('numero_cpf', models.CharField(max_length=14, null=True, blank=True)), - ('numero_rg', models.CharField(max_length=15, null=True, blank=True)), - ('numero_tit_eleitor', models.CharField(max_length=15, null=True, blank=True)), + ('nome_dependente', models.CharField(max_length=50, verbose_name='Nome')), + ('sexo', models.CharField(max_length=1, verbose_name='Sexo')), + ('data_nascimento', models.DateField(null=True, verbose_name='Data Nascimento', blank=True)), + ('numero_cpf', models.CharField(max_length=14, null=True, verbose_name='CPF', blank=True)), + ('numero_rg', models.CharField(max_length=15, null=True, verbose_name='RG', blank=True)), + ('numero_tit_eleitor', models.CharField(max_length=15, null=True, verbose_name='N\xba T\xedtulo Eleitor', blank=True)), ], + options={ + 'verbose_name': 'Dependente', + 'verbose_name_plural': 'Dependentes', + }, ), migrations.CreateModel( name='Filiacao', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_filiacao', models.DateField()), - ('data_desfiliacao', models.DateField(null=True, blank=True)), + ('data_filiacao', models.DateField(verbose_name='Data Filia\xe7\xe3o')), + ('data_desfiliacao', models.DateField(null=True, verbose_name='Data Desfilia\xe7\xe3o', blank=True)), ], + options={ + 'verbose_name': 'Filia\xe7\xe3o', + 'verbose_name_plural': 'Filia\xe7\xf5es', + }, ), migrations.CreateModel( name='Legislatura', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_inicio', models.DateField()), - ('data_fim', models.DateField()), - ('data_eleicao', models.DateField()), + ('data_inicio', models.DateField(verbose_name='Data In\xedcio')), + ('data_fim', models.DateField(verbose_name='Data Fim')), + ('data_eleicao', models.DateField(verbose_name='Data Elei\xe7\xe3o')), ], + options={ + 'verbose_name': 'Legislatura', + 'verbose_name_plural': 'Legislaturas', + }, ), migrations.CreateModel( name='Localidade', @@ -79,96 +103,128 @@ class Migration(migrations.Migration): ('sigla_uf', models.CharField(max_length=2, null=True, blank=True)), ('sigla_regiao', models.CharField(max_length=2, null=True, blank=True)), ], + options={ + 'verbose_name': 'Munic\xedpio', + 'verbose_name_plural': 'Munic\xedpios', + }, ), 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, blank=True)), - ('numero_votos_recebidos', models.IntegerField(null=True, blank=True)), - ('data_expedicao_diploma', models.DateField(null=True, blank=True)), - ('txt_observacao', models.TextField(null=True, blank=True)), - ('coligacao', models.ForeignKey(blank=True, to='parlamentares.Coligacao', null=True)), - ('legislatura', models.ForeignKey(to='parlamentares.Legislatura')), + ('data_fim_mandato', models.DateField(null=True, verbose_name='Fim do Mandato', blank=True)), + ('numero_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)), + ('txt_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')), ], + options={ + 'verbose_name': 'Mandato', + 'verbose_name_plural': 'Mandatos', + }, ), migrations.CreateModel( name='NivelInstrucao', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nivel_instrucao', models.CharField(max_length=50)), + ('nivel_instrucao', models.CharField(max_length=50, verbose_name='N\xedvel de Instru\xe7\xe3o')), ], + options={ + 'verbose_name': 'N\xedvel Instru\xe7\xe3o', + 'verbose_name_plural': 'N\xedveis Instru\xe7\xe3o', + }, ), migrations.CreateModel( name='Parlamentar', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nome_completo', models.CharField(max_length=50)), - ('nome_parlamentar', models.CharField(max_length=50, null=True, blank=True)), - ('sexo', models.CharField(max_length=1)), - ('data_nascimento', models.DateField(null=True, blank=True)), - ('numero_cpf', models.CharField(max_length=14, null=True, blank=True)), - ('numero_rg', models.CharField(max_length=15, null=True, blank=True)), - ('numero_tit_eleitor', models.CharField(max_length=15, null=True, blank=True)), + ('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')), + ('data_nascimento', models.DateField(null=True, verbose_name='Data Nascimento', blank=True)), + ('numero_cpf', models.CharField(max_length=14, null=True, verbose_name='C.P.F', blank=True)), + ('numero_rg', models.CharField(max_length=15, null=True, verbose_name='R.G.', blank=True)), + ('numero_tit_eleitor', models.CharField(max_length=15, null=True, verbose_name='T\xedtulo de Eleitor', blank=True)), ('cod_casa', models.IntegerField()), - ('numero_gab_parlamentar', models.CharField(max_length=10, null=True, blank=True)), - ('numero_tel_parlamentar', models.CharField(max_length=50, null=True, blank=True)), - ('numero_fax_parlamentar', models.CharField(max_length=50, null=True, blank=True)), - ('endereco_residencial', models.CharField(max_length=100, null=True, blank=True)), - ('numero_cep_resid', models.CharField(max_length=9, null=True, blank=True)), - ('numero_tel_resid', models.CharField(max_length=50, null=True, blank=True)), - ('numero_fax_resid', models.CharField(max_length=50, null=True, blank=True)), - ('endereco_web', models.CharField(max_length=100, null=True, blank=True)), - ('nome_profissao', models.CharField(max_length=50, null=True, blank=True)), - ('endereco_email', models.CharField(max_length=100, null=True, blank=True)), - ('descricao_local_atuacao', models.CharField(max_length=100, null=True, blank=True)), - ('ativo', models.BooleanField()), - ('txt_biografia', models.TextField(null=True, blank=True)), + ('numero_gab_parlamentar', models.CharField(max_length=10, null=True, verbose_name='N\xba Gabinete', blank=True)), + ('numero_tel_parlamentar', models.CharField(max_length=50, null=True, verbose_name='Telefone', blank=True)), + ('numero_fax_parlamentar', models.CharField(max_length=50, null=True, verbose_name='Fax', blank=True)), + ('endereco_residencial', models.CharField(max_length=100, null=True, verbose_name='Endere\xe7o Residencial', blank=True)), + ('numero_cep_resid', models.CharField(max_length=9, null=True, verbose_name='CEP', blank=True)), + ('numero_tel_resid', models.CharField(max_length=50, null=True, verbose_name='Telefone Residencial', blank=True)), + ('numero_fax_resid', 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)), + ('nome_profissao', models.CharField(max_length=50, null=True, verbose_name='Profiss\xe3o', blank=True)), + ('endereco_email', models.CharField(max_length=100, null=True, verbose_name='Correio Eletr\xf4nico', blank=True)), + ('descricao_local_atuacao', models.CharField(max_length=100, null=True, verbose_name='Locais de Atua\xe7\xe3o', blank=True)), + ('ativo', models.BooleanField(verbose_name='Ativo na Casa?')), + ('txt_biografia', models.TextField(null=True, verbose_name='Biografia', blank=True)), ('unid_deliberativa', models.BooleanField()), - ('localidade_resid', models.ForeignKey(blank=True, to='parlamentares.Localidade', null=True)), - ('nivel_instrucao', models.ForeignKey(blank=True, to='parlamentares.NivelInstrucao', null=True)), + ('localidade_resid', models.ForeignKey(verbose_name='Munic\xedpio', blank=True, to='parlamentares.Localidade', null=True)), + ('nivel_instrucao', models.ForeignKey(verbose_name='N\xedvel Instru\xe7\xe3o', blank=True, to='parlamentares.NivelInstrucao', null=True)), ], + options={ + 'verbose_name': 'Parlamentar', + 'verbose_name_plural': 'Parlamentares', + }, ), migrations.CreateModel( name='Partido', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('sigla_partido', models.CharField(max_length=9)), - ('nome_partido', models.CharField(max_length=50)), - ('data_criacao', models.DateField(null=True, blank=True)), - ('data_extincao', models.DateField(null=True, blank=True)), + ('sigla_partido', models.CharField(max_length=9, verbose_name='Sigla')), + ('nome_partido', 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)), ], + options={ + 'verbose_name': 'Partido', + 'verbose_name_plural': 'Partidos', + }, ), migrations.CreateModel( name='SessaoLegislativa', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('numero', models.IntegerField()), - ('tipo', models.CharField(max_length=1)), - ('data_inicio', models.DateField()), - ('data_fim', models.DateField()), - ('data_inicio_intervalo', models.DateField(null=True, blank=True)), - ('data_fim_intervalo', models.DateField(null=True, blank=True)), + ('numero', models.IntegerField(verbose_name='N\xfamero')), + ('tipo', models.CharField(max_length=1, verbose_name='Tipo')), + ('data_inicio', models.DateField(verbose_name='Data In\xedcio')), + ('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)), ('legislatura', models.ForeignKey(to='parlamentares.Legislatura')), ], + options={ + 'verbose_name': 'Sess\xe3o Legislativa', + 'verbose_name_plural': 'Sess\xf5es Legislativas', + }, ), migrations.CreateModel( name='SituacaoMilitar', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('descricao_tipo_situacao', models.CharField(max_length=50)), + ('descricao_tipo_situacao', models.CharField(max_length=50, verbose_name='Situa\xe7\xe3o Militar')), ], + options={ + 'verbose_name': 'Tipo Situa\xe7\xe3o Militar', + 'verbose_name_plural': 'Tipos Situa\xe7\xf5es Militares', + }, ), migrations.CreateModel( name='TipoAfastamento', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('descricao_afastamento', models.CharField(max_length=50)), - ('afastamento', models.BooleanField()), - ('fim_mandato', models.BooleanField()), - ('descricao_dispositivo', models.CharField(max_length=50, null=True, blank=True)), + ('descricao_afastamento', models.CharField(max_length=50, verbose_name='Descri\xe7\xe3o')), + ('afastamento', models.BooleanField(verbose_name='Indicador')), + ('fim_mandato', models.BooleanField(verbose_name='Indicador')), + ('descricao_dispositivo', models.CharField(max_length=50, null=True, verbose_name='Dispositivo', blank=True)), ], + options={ + 'verbose_name': 'Tipo de Afastamento', + 'verbose_name_plural': 'Tipos de Afastamento', + }, ), migrations.CreateModel( name='TipoDependente', @@ -176,11 +232,15 @@ class Migration(migrations.Migration): ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('descricao_tipo_dependente', models.CharField(max_length=50)), ], + options={ + 'verbose_name': 'Tipo de Dependente', + 'verbose_name_plural': 'Tipos de Dependente', + }, ), migrations.AddField( model_name='parlamentar', name='situacao_militar', - field=models.ForeignKey(blank=True, to='parlamentares.SituacaoMilitar', null=True), + field=models.ForeignKey(verbose_name='Situa\xe7\xe3o Militar', blank=True, to='parlamentares.SituacaoMilitar', null=True), ), migrations.AddField( model_name='mandato', @@ -200,7 +260,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='filiacao', name='partido', - field=models.ForeignKey(to='parlamentares.Partido'), + field=models.ForeignKey(verbose_name='Partido', to='parlamentares.Partido'), ), migrations.AddField( model_name='dependente', @@ -210,7 +270,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='dependente', name='tipo_dependente', - field=models.ForeignKey(to='parlamentares.TipoDependente'), + field=models.ForeignKey(verbose_name='Tipo', to='parlamentares.TipoDependente'), ), migrations.AddField( model_name='composicaomesa', @@ -230,6 +290,6 @@ class Migration(migrations.Migration): migrations.AddField( model_name='coligacao', name='legislatura', - field=models.ForeignKey(to='parlamentares.Legislatura'), + field=models.ForeignKey(verbose_name='Legislatura', to='parlamentares.Legislatura'), ), ] diff --git a/protocoloadm/migrations/0001_initial.py b/protocoloadm/migrations/0001_initial.py index 3dc8bc48e..a63e678db 100644 --- a/protocoloadm/migrations/0001_initial.py +++ b/protocoloadm/migrations/0001_initial.py @@ -15,46 +15,54 @@ class Migration(migrations.Migration): name='DocumentoAcessorioAdministrativo', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nome_documento', models.CharField(max_length=30)), - ('nome_arquivo', models.CharField(max_length=100)), - ('data_documento', models.DateField(null=True, blank=True)), - ('nome_autor_documento', models.CharField(max_length=50, null=True, blank=True)), - ('txt_assunto', models.TextField(null=True, blank=True)), + ('nome_documento', models.CharField(max_length=30, verbose_name='Nome')), + ('nome_arquivo', models.CharField(max_length=100, verbose_name='Arquivo')), + ('data_documento', models.DateField(null=True, verbose_name='Data', blank=True)), + ('nome_autor_documento', models.CharField(max_length=50, null=True, verbose_name='Autor', blank=True)), + ('txt_assunto', models.TextField(null=True, verbose_name='Assunto', blank=True)), ('txt_indexacao', models.TextField(null=True, blank=True)), ], + options={ + 'verbose_name': 'Documento Acess\xf3rio', + 'verbose_name_plural': 'Documentos Acess\xf3rios', + }, ), migrations.CreateModel( name='DocumentoAdministrativo', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('numero_documento', models.IntegerField()), - ('ano_documento', models.SmallIntegerField()), - ('data_documento', models.DateField()), - ('numero_protocolo', models.IntegerField(null=True, blank=True)), - ('txt_interessado', models.CharField(max_length=50, null=True, blank=True)), - ('numero_dias_prazo', models.IntegerField(null=True, blank=True)), - ('data_fim_prazo', models.DateField(null=True, blank=True)), - ('tramitacao', models.BooleanField()), - ('txt_assunto', models.TextField()), - ('txt_observacao', models.TextField(null=True, blank=True)), + ('numero_documento', models.IntegerField(verbose_name='N\xfamero')), + ('ano_documento', models.SmallIntegerField(verbose_name='Ano')), + ('data_documento', models.DateField(verbose_name='Data')), + ('numero_protocolo', models.IntegerField(null=True, verbose_name='N\xfam. Protocolo', blank=True)), + ('txt_interessado', models.CharField(max_length=50, null=True, verbose_name='Interessado', blank=True)), + ('numero_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?')), + ('txt_assunto', models.TextField(verbose_name='Assunto')), + ('txt_observacao', models.TextField(null=True, verbose_name='Observa\xe7\xe3o', blank=True)), ('autor', models.ForeignKey(blank=True, to='materia.Autor', null=True)), ], + options={ + 'verbose_name': 'Documento Administrativo', + 'verbose_name_plural': 'Documentos Administrativos', + }, ), migrations.CreateModel( name='Protocolo', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('numero_protocolo', models.IntegerField(null=True, blank=True)), + ('numero_protocolo', models.IntegerField(null=True, verbose_name='N\xfam. Protocolo', blank=True)), ('ano_protocolo', models.SmallIntegerField()), ('data_protocolo', models.DateField()), ('hora_protocolo', models.TimeField()), ('data_timestamp', models.DateTimeField()), - ('tipo_protocolo', models.IntegerField()), + ('tipo_protocolo', models.IntegerField(verbose_name='Tipo de Protocolo')), ('tipo_processo', models.IntegerField()), - ('txt_interessado', models.CharField(max_length=60, null=True, blank=True)), + ('txt_interessado', models.CharField(max_length=60, null=True, verbose_name='Interessado', blank=True)), ('txt_assunto_ementa', models.TextField(null=True, blank=True)), - ('numero_paginas', models.IntegerField(null=True, blank=True)), - ('txt_observacao', models.TextField(null=True, blank=True)), + ('numero_paginas', models.IntegerField(null=True, verbose_name='N\xfam. P\xe1ginas', blank=True)), + ('txt_observacao', models.TextField(null=True, verbose_name='Observa\xe7\xe3o', blank=True)), ('anulado', models.BooleanField()), ('txt_user_anulacao', models.CharField(max_length=20, null=True, blank=True)), ('txt_ip_anulacao', models.CharField(max_length=15, null=True, blank=True)), @@ -62,54 +70,70 @@ class Migration(migrations.Migration): ('timestamp_anulacao', models.DateTimeField(null=True, blank=True)), ('autor', models.ForeignKey(blank=True, to='materia.Autor', null=True)), ], + options={ + 'verbose_name': 'Protocolo', + 'verbose_name_plural': 'Protocolos', + }, ), migrations.CreateModel( name='StatusTramitacaoAdministrativo', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('sigla_status', models.CharField(max_length=10)), - ('descricao_status', models.CharField(max_length=60)), + ('sigla_status', models.CharField(max_length=10, verbose_name='Sigla')), + ('descricao_status', models.CharField(max_length=60, verbose_name='Descri\xe7\xe3o')), ('fim_tramitacao', models.BooleanField()), ('retorno_tramitacao', models.BooleanField()), ], + options={ + 'verbose_name': 'Status de Tramita\xe7\xe3o', + 'verbose_name_plural': 'Status de Tramita\xe7\xe3o', + }, ), migrations.CreateModel( name='TipoDocumentoAdministrativo', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('sigla_tipo_documento', models.CharField(max_length=5)), - ('descricao_tipo_documento', models.CharField(max_length=50)), + ('sigla_tipo_documento', models.CharField(max_length=5, verbose_name='Sigla')), + ('descricao_tipo_documento', models.CharField(max_length=50, verbose_name='Descri\xe7\xe3o')), ], + options={ + 'verbose_name': 'Tipo de Documento Administrativo', + 'verbose_name_plural': 'Tipos de Documento Administrativo', + }, ), 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, blank=True)), - ('cod_unid_tram_local', models.IntegerField(null=True, blank=True)), - ('data_encaminha', models.DateField(null=True, blank=True)), - ('cod_unid_tram_dest', models.IntegerField(null=True, blank=True)), + ('data_tramitacao', models.DateField(null=True, verbose_name='Data Tramita\xe7\xe3o', blank=True)), + ('cod_unid_tram_local', models.IntegerField(null=True, verbose_name='Unidade Local', blank=True)), + ('data_encaminha', models.DateField(null=True, verbose_name='Data Encaminhamento', blank=True)), + ('cod_unid_tram_dest', models.IntegerField(null=True, verbose_name='Unidade Destino', blank=True)), ('ult_tramitacao', models.BooleanField()), - ('txt_tramitacao', models.TextField(null=True, blank=True)), - ('data_fim_prazo', models.DateField(null=True, blank=True)), + ('txt_tramitacao', 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)), ('documento', models.ForeignKey(to='protocoloadm.DocumentoAdministrativo')), - ('status', models.ForeignKey(blank=True, to='protocoloadm.StatusTramitacaoAdministrativo', null=True)), + ('status', models.ForeignKey(verbose_name='Status', blank=True, to='protocoloadm.StatusTramitacaoAdministrativo', null=True)), ], + options={ + 'verbose_name': 'Tramita\xe7\xe3o de Documento Administrativo', + 'verbose_name_plural': 'Tramita\xe7\xf5es de Documento Administrativo', + }, ), migrations.AddField( model_name='protocolo', name='tipo_documento', - field=models.ForeignKey(blank=True, to='protocoloadm.TipoDocumentoAdministrativo', null=True), + field=models.ForeignKey(verbose_name='Tipo de documento', blank=True, to='protocoloadm.TipoDocumentoAdministrativo', null=True), ), migrations.AddField( model_name='protocolo', name='tipo_materia', - field=models.ForeignKey(blank=True, to='materia.TipoMateriaLegislativa', null=True), + field=models.ForeignKey(verbose_name='Tipo Mat\xe9ria', blank=True, to='materia.TipoMateriaLegislativa', null=True), ), migrations.AddField( model_name='documentoadministrativo', name='tipo', - field=models.ForeignKey(to='protocoloadm.TipoDocumentoAdministrativo'), + field=models.ForeignKey(verbose_name='Tipo Documento', to='protocoloadm.TipoDocumentoAdministrativo'), ), migrations.AddField( model_name='documentoacessorioadministrativo', @@ -119,6 +143,6 @@ class Migration(migrations.Migration): migrations.AddField( model_name='documentoacessorioadministrativo', name='tipo', - field=models.ForeignKey(to='protocoloadm.TipoDocumentoAdministrativo'), + field=models.ForeignKey(verbose_name='Tipo', to='protocoloadm.TipoDocumentoAdministrativo'), ), ] diff --git a/sessao/migrations/0001_initial.py b/sessao/migrations/0001_initial.py index 93ed20883..5eb98641c 100644 --- a/sessao/migrations/0001_initial.py +++ b/sessao/migrations/0001_initial.py @@ -16,13 +16,17 @@ class Migration(migrations.Migration): name='ExpedienteMateria', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_ordem', models.DateField()), - ('txt_observacao', models.TextField(null=True, blank=True)), - ('numero_ordem', models.IntegerField()), + ('data_ordem', models.DateField(verbose_name='Data da Sess\xe3o')), + ('txt_observacao', models.TextField(null=True, verbose_name='Ementa', blank=True)), + ('numero_ordem', models.IntegerField(verbose_name='N\xba Ordem')), ('txt_resultado', models.TextField(null=True, blank=True)), - ('tipo_votacao', models.IntegerField()), + ('tipo_votacao', models.IntegerField(verbose_name='Tipo de vota\xe7\xe3o')), ('materia', models.ForeignKey(to='materia.MateriaLegislativa')), ], + options={ + 'verbose_name': 'Mat\xe9ria do Expediente', + 'verbose_name_plural': 'Mat\xe9rias do Expediente', + }, ), migrations.CreateModel( name='ExpedienteSessaoPlenaria', @@ -30,6 +34,10 @@ class Migration(migrations.Migration): ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('txt_expediente', models.TextField(null=True, blank=True)), ], + options={ + 'verbose_name': 'Expediente de Sess\xe3o Plenaria', + 'verbose_name_plural': 'Expedientes de Sess\xe3o Plenaria', + }, ), migrations.CreateModel( name='MesaSessaoPlenaria', @@ -39,36 +47,52 @@ class Migration(migrations.Migration): ('parlamentar', models.ForeignKey(to='parlamentares.Parlamentar')), ('sessao_leg', models.ForeignKey(to='parlamentares.SessaoLegislativa')), ], + options={ + 'verbose_name': 'Mesa de Sess\xe3o Plenaria', + 'verbose_name_plural': 'Mesas de Sess\xe3o Plenaria', + }, ), migrations.CreateModel( name='Oradores', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('numero_ordem', models.IntegerField()), - ('url_discurso', models.CharField(max_length=150, null=True, blank=True)), - ('parlamentar', models.ForeignKey(to='parlamentares.Parlamentar')), + ('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')), ], + options={ + 'verbose_name': 'Orador das Explica\xe7\xf5es Pessoais', + 'verbose_name_plural': 'Oradores das Explica\xe7\xf5es Pessoais', + }, ), migrations.CreateModel( name='OradoresExpediente', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('numero_ordem', models.IntegerField()), - ('url_discurso', models.CharField(max_length=150, null=True, blank=True)), - ('parlamentar', models.ForeignKey(to='parlamentares.Parlamentar')), + ('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')), ], + options={ + 'verbose_name': 'Orador do Expediente', + 'verbose_name_plural': 'Oradores do Expediente', + }, ), migrations.CreateModel( name='OrdemDia', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('data_ordem', models.DateField()), - ('txt_observacao', models.TextField(null=True, blank=True)), - ('numero_ordem', models.IntegerField()), + ('data_ordem', models.DateField(verbose_name='Data da Sess\xe3o')), + ('txt_observacao', models.TextField(null=True, verbose_name='Ementa', blank=True)), + ('numero_ordem', models.IntegerField(verbose_name='N\xba Ordem')), ('txt_resultado', models.TextField(null=True, blank=True)), - ('tipo_votacao', models.IntegerField()), + ('tipo_votacao', models.IntegerField(verbose_name='Tipo de vota\xe7\xe3o')), ('materia', models.ForeignKey(to='materia.MateriaLegislativa')), ], + options={ + 'verbose_name': 'Mat\xe9ria da Ordem do Dia', + 'verbose_name_plural': 'Mat\xe9rias da Ordem do Dia', + }, ), migrations.CreateModel( name='OrdemDiaPresenca', @@ -77,18 +101,26 @@ class Migration(migrations.Migration): ('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', + }, ), migrations.CreateModel( name='RegistroVotacao', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('numero_votos_sim', models.IntegerField()), - ('numero_votos_nao', models.IntegerField()), - ('numero_abstencao', models.IntegerField()), - ('txt_observacao', models.TextField(null=True, blank=True)), + ('numero_votos_sim', models.IntegerField(verbose_name='Sim:')), + ('numero_votos_nao', models.IntegerField(verbose_name='N\xe3o:')), + ('numero_abstencao', models.IntegerField(verbose_name='Absten\xe7\xf5es:')), + ('txt_observacao', models.TextField(null=True, verbose_name='Observa\xe7\xf5es', blank=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', + }, ), migrations.CreateModel( name='RegistroVotacaoParlamentar', @@ -98,6 +130,10 @@ class Migration(migrations.Migration): ('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', + }, ), migrations.CreateModel( name='SessaoPlenaria', @@ -105,17 +141,21 @@ class Migration(migrations.Migration): ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('cod_andamento_sessao', models.IntegerField(null=True, blank=True)), ('tipo_expediente', models.CharField(max_length=10)), - ('data_inicio_sessao', models.DateField()), + ('data_inicio_sessao', models.DateField(verbose_name='Abertura')), ('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)), - ('numero_sessao_plen', models.IntegerField()), - ('data_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)), - ('legislatura', models.ForeignKey(to='parlamentares.Legislatura')), - ('sessao_leg', models.ForeignKey(to='parlamentares.SessaoLegislativa')), + ('hr_inicio_sessao', models.CharField(max_length=5, verbose_name='Hor\xe1rio')), + ('hr_fim_sessao', models.CharField(max_length=5, null=True, verbose_name='Hor\xe1rio', blank=True)), + ('numero_sessao_plen', models.IntegerField(verbose_name='N\xfamero')), + ('data_fim_sessao', 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_leg', models.ForeignKey(verbose_name='Sess\xe3o Legislativa', to='parlamentares.SessaoLegislativa')), ], + options={ + 'verbose_name': 'Sess\xe3o Plen\xe1ria', + 'verbose_name_plural': 'Sess\xf5es Plen\xe1rias', + }, ), migrations.CreateModel( name='SessaoPlenariaPresenca', @@ -125,38 +165,54 @@ class Migration(migrations.Migration): ('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', + }, ), migrations.CreateModel( name='TipoExpediente', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nome_expediente', models.CharField(max_length=100)), + ('nome_expediente', models.CharField(max_length=100, verbose_name='Tipo')), ], + options={ + 'verbose_name': 'Tipo de Expediente', + 'verbose_name_plural': 'Tipos de Expediente', + }, ), migrations.CreateModel( name='TipoResultadoVotacao', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nome_resultado', models.CharField(max_length=100)), + ('nome_resultado', 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', + }, ), migrations.CreateModel( name='TipoSessaoPlenaria', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('nome_sessao', models.CharField(max_length=30)), - ('numero_minimo', models.IntegerField()), + ('nome_sessao', models.CharField(max_length=30, verbose_name='Tipo')), + ('numero_minimo', models.IntegerField(verbose_name='Qu\xf3rum m\xednimo')), ], + options={ + 'verbose_name': 'Tipo de Sess\xe3o Plen\xe1ria', + 'verbose_name_plural': 'Tipos de Sess\xe3o Plen\xe1ria', + }, ), migrations.AddField( model_name='sessaoplenaria', name='tipo', - field=models.ForeignKey(to='sessao.TipoSessaoPlenaria'), + field=models.ForeignKey(verbose_name='Tipo', to='sessao.TipoSessaoPlenaria'), ), migrations.AddField( model_name='registrovotacao', name='tipo_resultado_votacao', - field=models.ForeignKey(to='sessao.TipoResultadoVotacao'), + field=models.ForeignKey(verbose_name='Resultado da Vota\xe7\xe3o', to='sessao.TipoResultadoVotacao'), ), migrations.AddField( model_name='ordemdiapresenca',