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

ModelAdmin.delete_confirmation_template Path to a custom template, used by

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

ModelAdmin.object_history_template Path to a custom template, used by

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

class GenericForeignKey There are three parts to setting up a GenericForeignKey:

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

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

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

has_perm(user_obj, perm, obj=None) Uses get_all_permissions() to check if user_obj has the permission

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

class ContentType Each instance of ContentType has two fields which, taken together, uniquely describe an installed

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

ModelAdmin.get_changeform_initial_data(request) [source] A hook for the initial data on admin

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

create_user(username, email=None, password=None, **extra_fields) Creates, saves and returns a User.

2025-01-10 15:47:30
sitemaps.GenericSitemap
  • References/Python/Django/API/contrib packages/The sitemap framework

class GenericSitemap [source] The django.contrib.sitemaps.GenericSitemap class

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

ModelAdmin.save_formset(request, form, formset, change) [source] The save_formset

2025-01-10 15:47:30