admin.models.LogEntry.content_type
  • References/Python/Django/API/contrib packages/The Django admin site

LogEntry.content_type The

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

InlineModelAdmin.min_num This controls the minimum number of forms to show in the inline. See

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

get_all_permissions(user_obj, obj=None) Returns the set of permission strings the user_obj has, including both

2025-01-10 15:47:30
contrib packages
  • References/Python/Django/API/contrib packages

Django aims to follow Python’s

2025-01-10 15:47:30
contenttypes.models.ContentType.app_label
  • References/Python/Django/API/contrib packages/The contenttypes framework

app_label The name of the application the model is part of. This is taken from the app_label attribute of the model

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

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

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

AdminSite.password_change_done_template Path to a custom template that will be used by the admin site password change done view

2025-01-10 15:47:30
messages.get_messages()
  • References/Python/Django/API/contrib packages/The messages framework

get_messages(request) [source] In your template, use something like:

2025-01-10 15:47:30
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
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