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

ModelAdmin.filter_horizontal By default, a

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

LogEntry.action_flag The type of action logged: ADDITION, CHANGE, DELETION.

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

ModelAdmin.message_user(request, message, level=messages.INFO, extra_tags='', fail_silently=False) [source]

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

LogEntry.get_edited_object() A shortcut that returns the referenced object.

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

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

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

ModelAdmin.inlines See

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

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

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

ModelAdmin.formfield_for_choice_field(db_field, request, **kwargs) Like the formfield_for_foreignkey and

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

ModelAdmin.view_on_site Set view_on_site to control whether or not to display the “View on site” link. This link

2025-01-10 15:47:30