Browse Source

HOT-FIX: corrige chamada de método de superclasse

pull/1759/head
Leandro Roberto da Silva 7 years ago
committed by GitHub
parent
commit
27f6365f5b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      sapl/base/views.py

2
sapl/base/views.py

@ -93,7 +93,7 @@ class TipoAutorCrud(CrudAux):
object = self.get_object()
if object.content_type:
raise PermissionDenied()
return super().get(request, *args, **kwargs)
return super().dispatch(request, *args, **kwargs)
class UpdateView(TipoAutorMixin, CrudAux.UpdateView):
pass

Loading…
Cancel
Save