diff --git a/sapl/norma/views.py b/sapl/norma/views.py index 8f90190e4..f206b7dd7 100644 --- a/sapl/norma/views.py +++ b/sapl/norma/views.py @@ -128,6 +128,11 @@ class NormaCrud(Crud): namespace = self.model._meta.app_config.name return reverse('%s:%s' % (namespace, 'norma_pesquisa')) + class DeleteView(Crud.DeleteView): + + def get_success_url(self): + return self.search_url + class CreateView(Crud.CreateView): form_class = NormaJuridicaForm