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

class InlineModelAdmin

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.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
contenttypes.admin.GenericInlineModelAdmin
  • References/Python/Django/API/contrib packages/The contenttypes framework

class GenericInlineModelAdmin The GenericInlineModelAdmin class inherits all properties from 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
auth.models.User.get_username()
  • References/Python/Django/API/contrib packages/django.contrib.auth

get_username() Returns the username for the user. Since the User model can be swapped out, you should use this method instead

2025-01-10 15:47:30
sitemaps.Sitemap.protocol
  • References/Python/Django/API/contrib packages/The sitemap framework

protocol Optional. This attribute defines the protocol ('http'

2025-01-10 15:47:30
sites.models.Site.domain
  • References/Python/Django/API/contrib packages/The “sites” framework

domain The fully qualified domain name associated with the website. For example, www.example.com.

2025-01-10 15:47:30
auth.backends.RemoteUserBackend.authenticate()
  • References/Python/Django/API/contrib packages/django.contrib.auth

RemoteUserBackend.authenticate(remote_user) The username passed as remote_user is considered trusted. This method

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

ModelAdmin.changelist_view(request, extra_context=None) [source] Django view for the model

2025-01-10 15:47:30