diff --git a/sapl/protocoloadm/views.py b/sapl/protocoloadm/views.py index a43d70da6..c478b6f62 100644 --- a/sapl/protocoloadm/views.py +++ b/sapl/protocoloadm/views.py @@ -121,6 +121,10 @@ class DocumentoAdministrativoCrud(Crud): kwargs={'pk': self.object.pk})) return context + class DeleteView(DocumentoAdministrativoMixin, Crud.DeleteView): + def get_success_url(self): + return reverse('sapl.protocoloadm:pesq_doc_adm', kwargs={}) + class StatusTramitacaoAdministrativoCrud(CrudAux): model = StatusTramitacaoAdministrativo