MCPcopy
hub / github.com/django/django / get_deleted_objects

Method get_deleted_objects

django/contrib/admin/options.py:2472–2477  ·  view source on GitHub ↗

Hook for customizing the delete process for the delete view and the "delete selected" action.

(self, objs, request)

Source from the content-addressed store, hash-verified

2470 )
2471
2472 def get_deleted_objects(self, objs, request):
2473 """
2474 Hook for customizing the delete process for the delete view and the
2475 "delete selected" action.
2476 """
2477 return get_deleted_objects(objs, request, self.admin_site)
2478
2479 @csrf_protect_m
2480 def delete_view(self, request, object_id, extra_context=None):

Callers 2

_delete_viewMethod · 0.95
delete_selectedFunction · 0.45

Calls 1

get_deleted_objectsFunction · 0.90

Tested by

no test coverage detected