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

AdminSite.index_template Path to a custom template that will be used by the admin site main index view.

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

InlineModelAdmin.raw_id_fields By default, Django’s admin uses a select-box interface (<select>) for fields that are

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

ModelAdmin.get_search_fields(request) [source] The get_search_fields method

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

ModelAdmin.change_view(request, object_id, form_url='', extra_context=None) [source] Django

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

ModelAdmin.save_on_top Set save_on_top to add save buttons across the top of your admin change forms.

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

ModelAdmin.formfield_for_manytomany(db_field, request, **kwargs) Like the formfield_for_foreignkey method, the

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

staff_member_required(redirect_field_name='next', login_url='admin:login') [source] This

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

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

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

ModelAdmin.get_changelist(request, **kwargs) [source] Returns the Changelist

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

ModelAdmin.get_urls() [source] The get_urls method on a ModelAdmin

2025-01-10 15:47:30