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

InlineModelAdmin.max_num This controls the maximum number of forms to show in the inline. This doesn’t directly correlate to

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

class apps.SimpleAdminConfig This class works like

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

AdminSite.register(model_or_iterable, admin_class=None, **options) [source] Registers the

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

InlineModelAdmin.fk_name The name of the foreign key on the model. In most cases this will be dealt with automatically, but

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

LogEntry.object_id The textual representation of the modified object’s primary key.

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

ModelAdmin.list_display_links Use list_display_links to control if and which fields in

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

LogEntry.get_change_message() New in Django 1.10.

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

ModelAdmin.list_editable Set list_editable to a list of field names on the model which will allow editing on the

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

InlineModelAdmin.extra This controls the number of extra forms the formset will display in addition to the initial forms. See

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

ModelAdmin.delete_model(request, obj) [source] The delete_model method is given

2025-01-10 15:47:30