From b52fbb3fc2863a4d65fd0500499fa6da93fa0f97 Mon Sep 17 00:00:00 2001 From: Eduardo Edson Batista Cordeiro Alves Date: Tue, 3 May 2016 11:48:05 -0300 Subject: [PATCH] Init crud relatoria --- materia/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/materia/views.py b/materia/views.py index 93c322221..87e62e0e8 100644 --- a/materia/views.py +++ b/materia/views.py @@ -57,6 +57,8 @@ ProposicaoCrud = Crud.build(Proposicao, '') StatusTramitacaoCrud = Crud.build(StatusTramitacao, 'status_tramitacao') UnidadeTramitacaoCrud = Crud.build(UnidadeTramitacao, 'unidade_tramitacao') +RelatoriaCrud = MasterDetailCrud.build(Relatoria, 'materia', '') + class RelatoriaCrud(MasterDetailCrud): model = Relatoria