From c421a4fd92990fa830f2f645df044b0f0f1fc32a Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Mon, 5 Apr 2010 12:02:27 +0000 Subject: 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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12916 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/contrib/admin/index.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index e80af72f46..c779b3ca6d 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -737,6 +737,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.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`. + .. attribute:: ModelAdmin.object_history_template Path to a custom template, used by :meth:`history_view`. -- cgit v1.3