diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-04-05 12:08:45 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-04-05 12:08:45 +0000 |
| commit | c01735dee7dd590963c0305a2f2c904cd6cdefc2 (patch) | |
| tree | aeaeaa4bbdccffbcaf50f70c23ba729c9f3628a4 /docs/ref | |
| parent | 0d6a776ccd9a6035b97389ca57fee41dd7454e01 (diff) | |
[1.1.X] Fixed #11949 -- Added a hook to allow ModelAdmin customization of the delete selected template. Thanks to bendavis78 for the report and patch, and Ramiro Morales for his cleanup work.
Backport of r12916 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 2967b11425..f7ad31c15e 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -698,6 +698,15 @@ templates used by the :class:`ModelAdmin` views: Path to a custom template, used by :meth:`delete_view` for displaying a confirmation page when deleting one or more objects. +.. attribute:: ModelAdmin.delete_selected_confirmation_template + + .. versionadded:: 1.1.2 + + Path to a custom template, used by the :meth:`delete_selected` + action method for displaying a confirmation page when deleting one + or more objects. See the :ref:`actions + documentation<ref-contrib-admin-actions>`. + .. attribute:: ModelAdmin.object_history_template Path to a custom template, used by :meth:`history_view`. |
