diff --git a/crud/base.py b/crud/base.py index c14671a4d..ea9f9c109 100644 --- a/crud/base.py +++ b/crud/base.py @@ -220,11 +220,5 @@ class Crud: model = _model help_path = _help_path - # FIXME!!!! corrigir referencias no codigo e remover isso!!!!! - # fazer com #230 - class CrudDetailView(cls.BaseMixin, cls.DetailView): - model = _model - help_path = _help_path - ModelCrud.__name__ = '%sCrud' % _model.__name__ return ModelCrud diff --git a/sessao/views.py b/sessao/views.py index e6a1cb36d..a8fbbb002 100644 --- a/sessao/views.py +++ b/sessao/views.py @@ -46,6 +46,8 @@ class SessaoCrud(Crud): list_field_names = ['numero', 'tipo', 'legislatura', 'sessao_legislativa', 'data_inicio', 'hora_inicio'] + # FIXME!!!! corrigir referencias no codigo e remover isso!!!!! + # fazer com #230 class CrudDetailView(crud.base.BaseMixin, crud.base.DetailView): model = SessaoPlenaria help_path = 'sessao_plenaria'