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

class StackedInline [source] The admin interface has the ability to edit models on the same

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

ModelAdmin.get_formsets_with_inlines(request, obj=None) [source] Yields (FormSet

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

ModelAdmin.list_max_show_all Set list_max_show_all to control how many items can appear on a “Show all” admin change

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

ModelAdmin.get_changelist_formset(request, **kwargs) [source] Returns a

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

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

ModelAdmin.formfield_for_foreignkey(db_field, request, **kwargs) The formfield_for_foreignkey method on a ModelAdmin

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

ModelAdmin.list_per_page Set list_per_page to control how many items appear on each paginated admin change list

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

ModelAdmin.save_formset(request, form, formset, change) [source] The save_formset

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

ModelAdmin.change_form_template Path to a custom template, used by

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

ModelAdmin.save_as Set save_as to enable a “save as new” feature on admin change forms. Normally

2025-01-10 15:47:30