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

ModelAdmin.list_display Set list_display to control which fields are displayed on the change list page of the admin

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

ModelAdmin.fieldsets Set fieldsets to control the layout of admin “add” and “change” pages.

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

class AllowAllUsersModelBackend New in Django 1.10. Same

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

user_logged_in() Sent when a user logs in successfully. Arguments sent with this signal:

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

class RemoteUserBackend Use this backend to take advantage of external-to-Django-handled authentication. It authenticates using

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

name The human-readable name of the content type. This is taken from the

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

register(*models, site=django.admin.sites.site) [source] There is also a decorator for registering

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

class storage.fallback.FallbackStorage This class first uses CookieStorage, and falls back to using SessionStorage

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

class views.SuccessMessageMixin Adds a success message attribute to

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

create_superuser(username, email, password, **extra_fields) Same as create_user(), but sets is_staff

2025-01-10 15:47:30