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

AdminSite.site_title The text to put at the end of each admin page’s <title> (a string). By default, this

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.ModelAdmin.exclude
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.exclude This attribute, if given, should be a list of field names to exclude from the form. For

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.apps.AdminConfig
  • References/Python/Django/API/contrib packages/The Django admin site

class apps.AdminConfig This is the default

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

ModelAdmin.history_view(request, object_id, extra_context=None) [source] Django view for

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

ModelAdmin.response_change(request, obj) [source] Determines the

2025-01-10 15:47:30
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.delete_view()
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.delete_view(request, object_id, extra_context=None) [source] Django view for the

2025-01-10 15:47:30