mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
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
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user