ModelAdmin.delete_confirmation_template Path to a custom template, used by
ModelAdmin.object_history_template Path to a custom template, used by
class GenericForeignKey There are three parts to setting up a GenericForeignKey:
ModelAdmin.get_readonly_fields(request, obj=None) The get_readonly_fields method is given the HttpRequest
has_perm(user_obj, perm, obj=None) Uses get_all_permissions() to check if user_obj has the permission
class ContentType Each instance of ContentType has two fields which, taken together, uniquely describe an installed
ModelAdmin.get_changeform_initial_data(request) [source] A hook for the initial data on admin
create_user(username, email=None, password=None, **extra_fields) Creates, saves and returns a User.
class GenericSitemap [source] The django.contrib.sitemaps.GenericSitemap class
ModelAdmin.save_formset(request, form, formset, change) [source] The save_formset
Page 19 of 27