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.backends.ModelBackend.has_module_perms()
  • References/Python/Django/API/contrib packages/django.contrib.auth

has_module_perms(self, user_obj, app_label) Returns whether the user_obj has any permissions on the app app_label

2025-01-10 15:47:30
contenttypes.models.ContentTypeManager.get_by_natural_key()
  • References/Python/Django/API/contrib packages/The contenttypes framework

get_by_natural_key(app_label, model) Returns the ContentType instance uniquely identified by the given application

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

ModelAdmin.show_full_result_count Set show_full_result_count to control whether the full count of objects should

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

ModelAdmin.search_fields Set search_fields to enable a search box on the admin change list page. This should be

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

ModelAdmin.get_list_filter(request) [source] The get_list_filter method is given

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
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.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