auth.models.Permission.codename
  • References/Python/Django/API/contrib packages/django.contrib.auth

codename Required. 100 characters or fewer. Example: 'can_vote'.

2025-01-10 15:47:30
messages.storage.session.SessionStorage
  • References/Python/Django/API/contrib packages/The messages framework

class storage.session.SessionStorage This class stores all messages inside of the request’s session. Therefore it requires Django’s

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

class apps.AdminConfig This is the default

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

ModelAdmin.has_module_permission(request) Should return True if displaying the module on the admin index page and

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

authenticate(username=None, password=None, **kwargs) Tries to authenticate username with password

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

content_type Required. A reference to the django_content_type database table, which contains a record for each

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

ModelAdmin.paginator The paginator class to be used for pagination. By default,

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

AdminSite.index_title The text to put at the top of the admin index page (a string). By default, this is “Site administration”

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

A set of Django template filters useful for adding a “human touch” to data. To activate these filters, add 'django.contrib.humanize'

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

ModelAdmin.prepopulated_fields Set prepopulated_fields to a dictionary mapping field names to the fields it should

2025-01-10 15:47:30