sitemaps.views.sitemap()
  • References/Python/Django/API/contrib packages/The sitemap framework

views.sitemap(request, sitemaps, section=None, template_name='sitemap.xml', content_type='application/xml') To activate sitemap

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

ModelAdmin.list_filter Set list_filter to activate filters in the right sidebar of the change list page of the

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

AdminSite.index_template Path to a custom template that will be used by the admin site main index view.

2025-01-10 15:47:30
auth.models.User.is_staff
  • References/Python/Django/API/contrib packages/django.contrib.auth

is_staff Boolean. Designates whether this user can access the admin site.

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

InlineModelAdmin.raw_id_fields By default, Django’s admin uses a select-box interface (<select>) for fields that are

2025-01-10 15:47:30
auth.models.Permission
  • References/Python/Django/API/contrib packages/django.contrib.auth

class models.Permission

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

ModelAdmin.get_search_fields(request) [source] The get_search_fields method

2025-01-10 15:47:30
auth.models.UserManager
  • References/Python/Django/API/contrib packages/django.contrib.auth

class models.UserManager The User model has a custom manager that has the following helper methods (in addition

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

ModelAdmin.change_view(request, object_id, form_url='', extra_context=None) [source] Django

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

ModelAdmin.save_on_top Set save_on_top to add save buttons across the top of your admin change forms.

2025-01-10 15:47:30