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

ModelAdmin.save_related(request, form, formsets, change) [source] The save_related

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

class models.LogEntry The LogEntry class tracks additions, changes, and deletions of objects done through the admin

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

get_for_id(id) Lookup a ContentType by ID. Since this method uses the same shared cache as get_for_model()

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

get_group_permissions(obj=None) Returns a set of permission strings that the user has, through their groups.

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

InlineModelAdmin.max_num This controls the maximum number of forms to show in the inline. This doesn’t directly correlate to

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

password Required. A hash of, and metadata about, the password. (Django doesn’t store the raw password.) Raw passwords can be

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

class apps.SimpleAdminConfig This class works like

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

AdminSite.register(model_or_iterable, admin_class=None, **options) [source] Registers the

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

InlineModelAdmin.fk_name The name of the foreign key on the model. In most cases this will be dealt with automatically, but

2025-01-10 15:47:30
contenttypes.admin.GenericInlineModelAdmin.ct_fk_field
  • References/Python/Django/API/contrib packages/The contenttypes framework

ct_fk_field The name of the integer field that represents the ID of the related object. Defaults to object_id.

2025-01-10 15:47:30