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

ModelAdmin.get_urls() [source] The get_urls method on a ModelAdmin

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

AdminSite.site_url The URL for the “View site” link at the top of each admin page. By default, site_url is /

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

ModelAdmin.readonly_fields By default the admin shows all fields as editable. Any fields in this option (which should be a list

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

InlineModelAdmin.show_change_link Specifies whether or not inline objects that can be changed in the admin have a link to the

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

ModelAdmin.formfield_overrides This provides a quick-and-dirty way to override some of the

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

InlineModelAdmin.form The value for form defaults to ModelForm. This is what is passed through to

2025-01-10 15:47:30