diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-04-05 12:02:27 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-04-05 12:02:27 +0000 |
| commit | c421a4fd92990fa830f2f645df044b0f0f1fc32a (patch) | |
| tree | 589169c8a65151dc9ec90247011b0f28cc6bde36 /tests/regressiontests/admin_views/models.py | |
| parent | 4e4decaf4203421e1a31ffdf8738569de5eea86a (diff) | |
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
Diffstat (limited to 'tests/regressiontests/admin_views/models.py')
| -rw-r--r-- | tests/regressiontests/admin_views/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/regressiontests/admin_views/models.py b/tests/regressiontests/admin_views/models.py index e66e65fa85..be5782886f 100644 --- a/tests/regressiontests/admin_views/models.py +++ b/tests/regressiontests/admin_views/models.py @@ -119,6 +119,7 @@ class CustomArticleAdmin(admin.ModelAdmin): add_form_template = 'custom_admin/add_form.html' object_history_template = 'custom_admin/object_history.html' delete_confirmation_template = 'custom_admin/delete_confirmation.html' + delete_selected_confirmation_template = 'custom_admin/delete_selected_confirmation.html' def changelist_view(self, request): "Test that extra_context works" |
