Mise à jour de Black vers la version 23.3 (#629)

This commit is contained in:
thomas girod
2023-04-22 15:32:31 +02:00
committed by GitHub
parent c78953b036
commit b5a40cfda9
135 changed files with 37 additions and 154 deletions

View File

@ -162,7 +162,6 @@ class GenericContentPermissionMixinBuilder(View):
return cls.permission_function(obj, user)
def dispatch(self, request, *arg, **kwargs):
if hasattr(self, "get_object") and callable(self.get_object):
self.object = self.get_object()
if not self.get_permission_function(self.object, request.user):