Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ ChildAdmin
Class
ChildAdmin
tests/admin_changelist/tests.py:1741–1743 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1739
Child.objects.create(name=
"Zara's child"
, parent=parent_z)
1740
1741
class
ChildAdmin(admin.ModelAdmin):
1742
list_display = [
"name"
,
"parent__name"
]
1743
list_per_page = 1
1744
1745
m = ChildAdmin(Child, custom_site)
1746
Callers
13
test_repr
Method · 0.70
test_select_related_preserved
Method · 0.70
test_result_list_empty_changelist_value
Method · 0.70
test_result_list_empty_changelist_value_blank_string
Method · 0.70
test_result_list_set_empty_value_display_on_admin_site
Method · 0.70
test_result_list_html
Method · 0.70
test_result_list_editable_html
Method · 0.70
test_result_list_editable
Method · 0.70
test_search_with_exact_lookup_for_non_string_field
Method · 0.70
test_pagination
Method · 0.70
test_show_all
Method · 0.70
test_list_display_related_field_ordering
Method · 0.70
Calls
no outgoing calls
Tested by
13
test_repr
Method · 0.56
test_select_related_preserved
Method · 0.56
test_result_list_empty_changelist_value
Method · 0.56
test_result_list_empty_changelist_value_blank_string
Method · 0.56
test_result_list_set_empty_value_display_on_admin_site
Method · 0.56
test_result_list_html
Method · 0.56
test_result_list_editable_html
Method · 0.56
test_result_list_editable
Method · 0.56
test_search_with_exact_lookup_for_non_string_field
Method · 0.56
test_pagination
Method · 0.56
test_show_all
Method · 0.56
test_list_display_related_field_ordering
Method · 0.56