Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ delete
Method
delete
tests/save_delete_hooks/models.py:28–32 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
26
self.data.append(
"After save"
)
27
28
def
delete(self):
29
self.data.append(
"Before deletion"
)
30
# Call the "real" delete() method
31
super().delete()
32
self.data.append(
"After deletion"
)
Callers
15
test_basic
Method · 0.95
test_delete_signals
Method · 0.95
test_delete
Method · 0.45
test_delete
Method · 0.45
test_delete_nonexistent
Method · 0.45
test_cache_read_for_model_instance
Method · 0.45
test_cache_write_for_model_instance_with_deferred
Method · 0.45
test_cache_read_for_model_instance_with_deferred
Method · 0.45
test_unicode
Method · 0.45
test_cache_versioning_delete
Method · 0.45
test_delete_cursor_rowcount
Method · 0.45
test_model_subclass_proxy
Method · 0.45
Calls
1
append
Method · 0.45
Tested by
15
test_basic
Method · 0.76
test_delete_signals
Method · 0.76
test_delete
Method · 0.36
test_delete
Method · 0.36
test_delete_nonexistent
Method · 0.36
test_cache_read_for_model_instance
Method · 0.36
test_cache_write_for_model_instance_with_deferred
Method · 0.36
test_cache_read_for_model_instance_with_deferred
Method · 0.36
test_unicode
Method · 0.36
test_cache_versioning_delete
Method · 0.36
test_delete_cursor_rowcount
Method · 0.36
test_model_subclass_proxy
Method · 0.36