From 691bc59558dd93eeb07e40e33a2a2ce7f557b8d7 Mon Sep 17 00:00:00 2001 From: LeandroRoberto Date: Mon, 3 Oct 2016 10:00:01 -0300 Subject: [PATCH] =?UTF-8?q?Torna=20p=C3=BAblic=20a=20listagem=20de=20mat?= =?UTF-8?q?=C3=A9rias=20da=20ordem=20do=20dia?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/sessao/views.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index daff34b99..f30e78e92 100644 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -43,8 +43,8 @@ from .models import (Bancada, Bloco, CargoBancada, CargoMesa, SessaoPlenariaPresenca, TipoExpediente, TipoResultadoVotacao, TipoSessaoPlenaria, VotoParlamentar) -OrdemDiaCrud = Crud.build(OrdemDia, '') -RegistroVotacaoCrud = Crud.build(RegistroVotacao, '') +#OrdemDiaCrud = Crud.build(OrdemDia, '') +#RegistroVotacaoCrud = Crud.build(RegistroVotacao, '') TipoSessaoCrud = CrudAux.build(TipoSessaoPlenaria, 'tipo_sessao_plenaria') TipoExpedienteCrud = CrudAux.build(TipoExpediente, 'tipo_expediente') @@ -122,6 +122,7 @@ class MateriaOrdemDiaCrud(MasterDetailCrud): model = OrdemDia parent_field = 'sessao_plenaria' help_path = '' + public = [RP_LIST, RP_DETAIL] class BaseMixin(MasterDetailCrud.BaseMixin): list_field_names = ['numero_ordem', 'materia', 'observacao',