Browse Source

Conserta permission_required de ResumoOrdenacao

pull/1126/head
Eduardo Calil 8 years ago
parent
commit
92f91c75b0
  1. 2
      sapl/sessao/views.py

2
sapl/sessao/views.py

@ -935,7 +935,7 @@ class MesaView(FormMixin, DetailView):
class ResumoOrdenacaoView(PermissionRequiredMixin, FormView): class ResumoOrdenacaoView(PermissionRequiredMixin, FormView):
template_name = 'sessao/resumo_ordenacao.html' template_name = 'sessao/resumo_ordenacao.html'
form_class = ResumoOrdenacaoForm form_class = ResumoOrdenacaoForm
permission_required = 'sessao.change_resumoordenacao' permission_required = {'sessao.change_resumoordenacao'}
def get_success_url(self): def get_success_url(self):
return reverse('sapl.base:sistema') return reverse('sapl.base:sistema')

Loading…
Cancel
Save