summaryrefslogtreecommitdiff
path: root/tests/templates
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2010-01-12 23:34:46 +0000
committerJannis Leidel <jannis@leidel.info>2010-01-12 23:34:46 +0000
commita2056919799e48f053fa16b65569fc1e8f57ebe1 (patch)
treef31347588a67ce910973d221396c2100b4e155b2 /tests/templates
parent31f3a8c1ad3b6ec33c503241484107bf35cdadba (diff)
downloaddjango-a2056919799e48f053fa16b65569fc1e8f57ebe1.tar.gz
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
Diffstat (limited to 'tests/templates')
-rw-r--r--tests/templates/custom_admin/logout.html6
-rw-r--r--tests/templates/custom_admin/password_change_done.html6
-rw-r--r--tests/templates/custom_admin/password_change_form.html6
3 files changed, 18 insertions, 0 deletions
diff --git a/tests/templates/custom_admin/logout.html b/tests/templates/custom_admin/logout.html
new file mode 100644
index 0000000000..3a9301b6c6
--- /dev/null
+++ b/tests/templates/custom_admin/logout.html
@@ -0,0 +1,6 @@
+{% extends "registration/logged_out.html" %}
+
+{% block content %}
+Hello from a custom logout template
+{{ block.super }}
+{% endblock %}
diff --git a/tests/templates/custom_admin/password_change_done.html b/tests/templates/custom_admin/password_change_done.html
new file mode 100644
index 0000000000..0e4a7f25ec
--- /dev/null
+++ b/tests/templates/custom_admin/password_change_done.html
@@ -0,0 +1,6 @@
+{% extends "registration/password_change_done.html" %}
+
+{% block content %}
+Hello from a custom password change done template
+{{ block.super }}
+{% endblock %}
diff --git a/tests/templates/custom_admin/password_change_form.html b/tests/templates/custom_admin/password_change_form.html
new file mode 100644
index 0000000000..1c424934e4
--- /dev/null
+++ b/tests/templates/custom_admin/password_change_form.html
@@ -0,0 +1,6 @@
+{% extends "registration/password_change_form.html" %}
+
+{% block content %}
+Hello from a custom password change form template
+{{ block.super }}
+{% endblock %}