admin.AdminSite.index_title
  • References/Python/Django/API/contrib packages/The Django admin site

AdminSite.index_title The text to put at the top of the admin index page (a string). By default, this is “Site administration”

2025-01-10 15:47:30
admin.ModelAdmin.prepopulated_fields
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.prepopulated_fields Set prepopulated_fields to a dictionary mapping field names to the fields it should

2025-01-10 15:47:30
admin.ModelAdmin.fields
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.fields Use the fields option to make simple layout changes in the forms on the “add” and “change” pages

2025-01-10 15:47:30
admin.ModelAdmin.preserve_filters
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.preserve_filters The admin now preserves filters on the list view after creating, editing or deleting an object.

2025-01-10 15:47:30
admin.AdminSite.logout_template
  • References/Python/Django/API/contrib packages/The Django admin site

AdminSite.logout_template Path to a custom template that will be used by the admin site logout view.

2025-01-10 15:47:30
admin.InlineModelAdmin.get_min_num()
  • References/Python/Django/API/contrib packages/The Django admin site

InlineModelAdmin.get_min_num(request, obj=None, **kwargs) Returns the minimum number of inline forms to use. By default, returns

2025-01-10 15:47:30
admin.ModelAdmin.get_list_display()
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.get_list_display(request) [source] The get_list_display method is

2025-01-10 15:47:30
admin.models.LogEntry.object_repr
  • References/Python/Django/API/contrib packages/The Django admin site

LogEntry.object_repr The object`s repr() after the modification.

2025-01-10 15:47:30
admin.ModelAdmin.list_select_related
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.list_select_related Set list_select_related to tell Django to use

2025-01-10 15:47:30
admin.ModelAdmin.ordering
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.ordering Set ordering to specify how lists of objects should be ordered in the Django admin views. This

2025-01-10 15:47:30