From a2056919799e48f053fa16b65569fc1e8f57ebe1 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Tue, 12 Jan 2010 23:34:46 +0000 Subject: Fixed #8933 - Allow more admin templates to be overridden. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12217 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/admin_views/customadmin.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/regressiontests/admin_views/customadmin.py') diff --git a/tests/regressiontests/admin_views/customadmin.py b/tests/regressiontests/admin_views/customadmin.py index 80570ea51d..34e39ef0ca 100644 --- a/tests/regressiontests/admin_views/customadmin.py +++ b/tests/regressiontests/admin_views/customadmin.py @@ -9,7 +9,10 @@ import models class Admin2(admin.AdminSite): login_template = 'custom_admin/login.html' + logout_template = 'custom_admin/logout.html' index_template = 'custom_admin/index.html' + password_change_template = 'custom_admin/password_change_form.html' + password_change_done_template = 'custom_admin/password_change_done.html' # A custom index view. def index(self, request, extra_context=None): -- cgit v1.3