|
@ -1260,9 +1260,12 @@ class HistoricoProposicaoView(PermissionRequiredMixin, ListView): |
|
|
ordering = ['-data_hora'] |
|
|
ordering = ['-data_hora'] |
|
|
paginate_by = 10 |
|
|
paginate_by = 10 |
|
|
model = HistoricoProposicao |
|
|
model = HistoricoProposicao |
|
|
permission_required = ('materia.detail_proposicao_enviada', |
|
|
permission_required = ( |
|
|
'materia.detail_proposicao_devolvida', |
|
|
'materia.list_historicoproposicao', |
|
|
'materia.detail_proposicao_incorporada' |
|
|
'materia.add_historicoproposicao', |
|
|
|
|
|
'materia.change_historicoproposicao', |
|
|
|
|
|
'materia.delete_historicoproposicao', |
|
|
|
|
|
'materia.detail_historicoproposicao', |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
def get_queryset(self): |
|
|
def get_queryset(self): |
|
|