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

LogEntry.user The user (an AUTH_USER_MODEL instance) who performed the action.

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

ModelAdmin.form By default a ModelForm is dynamically created for your model. It is used to create the form presented

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

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

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

class AdminSite(name='admin') [source] A Django administrative site is represented by an

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

ModelAdmin.get_search_results(request, queryset, search_term) [source] The get_search_results

2025-01-10 15:47:30
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.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