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

autodiscover() [source] This function attempts to import an admin module in

2025-01-10 15:47:30
auth.models.User.username
  • References/Python/Django/API/contrib packages/django.contrib.auth

username Required. 150 characters or fewer. Usernames may contain alphanumeric, _, @, +

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

ModelAdmin.has_module_permission(request) Should return True if displaying the module on the admin index page and

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
contenttypes.fields.GenericForeignKey.for_concrete_model
  • References/Python/Django/API/contrib packages/The contenttypes framework

for_concrete_model If False, the field will be able to reference proxy models. Default is True. This

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