mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 02:30:01 -03:30
Starting to defer some business logic to the model classes and out of the views.
This commit is contained in:
@@ -43,3 +43,8 @@ class BaseDetail(generics.RetrieveUpdateDestroyAPIView):
|
||||
obj.save()
|
||||
return HttpResponse(status=204)
|
||||
|
||||
def delete_permissions_check(self, request, obj):
|
||||
raise exceptions.NotImplementedError()
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user