Browse Source
HOT-FIX: corrige chamada de método de superclasse
pull/1759/head
Leandro Roberto da Silva
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
sapl/base/views.py
|
@ -93,7 +93,7 @@ class TipoAutorCrud(CrudAux): |
|
|
object = self.get_object() |
|
|
object = self.get_object() |
|
|
if object.content_type: |
|
|
if object.content_type: |
|
|
raise PermissionDenied() |
|
|
raise PermissionDenied() |
|
|
return super().get(request, *args, **kwargs) |
|
|
return super().dispatch(request, *args, **kwargs) |
|
|
|
|
|
|
|
|
class UpdateView(TipoAutorMixin, CrudAux.UpdateView): |
|
|
class UpdateView(TipoAutorMixin, CrudAux.UpdateView): |
|
|
pass |
|
|
pass |
|
|