~ubuntu-branches/ubuntu/quantal/python-django/quantal-security

« back to all changes in this revision

Viewing changes to tests/regressiontests/admin_views/customadmin.py

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lamb
  • Date: 2010-05-21 07:52:55 UTC
  • mfrom: (1.3.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: james.westby@ubuntu.com-20100521075255-ii78v1dyfmyu3uzx
Tags: upstream-1.2
ImportĀ upstreamĀ versionĀ 1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
class Admin2(admin.AdminSite):
11
11
    login_template = 'custom_admin/login.html'
 
12
    logout_template = 'custom_admin/logout.html'
12
13
    index_template = 'custom_admin/index.html'
 
14
    password_change_template = 'custom_admin/password_change_form.html'
 
15
    password_change_done_template = 'custom_admin/password_change_done.html'
13
16
 
14
17
    # A custom index view.
15
18
    def index(self, request, extra_context=None):