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

class InlineModelAdmin

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

InlineModelAdmin.verbose_name An override to the verbose_name found in the model’s inner Meta class

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

ModelAdmin.date_hierarchy Set date_hierarchy to the name of a DateField or DateTimeField

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

ModelAdmin.get_prepopulated_fields(request, obj=None) The get_prepopulated_fields method is given the HttpRequest

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

ModelAdmin.object_history_template Path to a custom template, used by

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

register(*models, site=django.admin.sites.site) [source] There is also a decorator for registering

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

AdminSite.login_form Subclass of

2025-01-10 15:47:30