admin.ModelAdmin.search_fields
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.search_fields Set search_fields to enable a search box on the admin change list page. This should be

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

ModelAdmin.get_fieldsets(request, obj=None) The get_fieldsets method is given the HttpRequest and

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

ModelAdmin.get_list_filter(request) [source] The get_list_filter method is given

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

ModelAdmin.save_model(request, obj, form, change) [source] The save_model method

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

AdminSite.site_url The URL for the “View site” link at the top of each admin page. By default, site_url is /

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

ModelAdmin.delete_selected_confirmation_template Path to a custom template, used by the delete_selected action

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

InlineModelAdmin.get_max_num(request, obj=None, **kwargs) Returns the maximum number of extra inline forms to use. By default

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

ModelAdmin.readonly_fields By default the admin shows all fields as editable. Any fields in this option (which should be a list

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

ModelAdmin.get_queryset(request) The get_queryset method on a ModelAdmin returns a

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

AdminSite.password_change_done_template Path to a custom template that will be used by the admin site password change done view

2025-01-10 15:47:30