admin.ModelAdmin.get_list_display()
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.get_list_display(request) [source] The get_list_display method is

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

RemoteUserBackend.clean_username(username) Performs any cleaning on the username (e.g. stripping LDAP DN information)

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

LogEntry.action_flag The type of action logged: ADDITION, CHANGE, DELETION.

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

get_all_permissions(obj=None) Returns a set of permission strings that the user has, both through group and user permissions

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

ModelAdmin.message_user(request, message, level=messages.INFO, extra_tags='', fail_silently=False) [source]

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

class models.Group

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

LogEntry.get_edited_object() A shortcut that returns the referenced object.

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

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

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

class storage.base.Message When you loop over the list of messages in a template, what you get are instances of the Message

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

get_for_model(model, for_concrete_model=True) Takes either a model class or an instance of a model, and returns the ContentType

2025-01-10 15:47:30