diff options
author | Jannis Leidel <jannis@leidel.info> | 2010-01-12 23:34:46 +0000 |
---|---|---|
committer | Jannis Leidel <jannis@leidel.info> | 2010-01-12 23:34:46 +0000 |
commit | a2056919799e48f053fa16b65569fc1e8f57ebe1 (patch) | |
tree | f31347588a67ce910973d221396c2100b4e155b2 /tests/templates | |
parent | 31f3a8c1ad3b6ec33c503241484107bf35cdadba (diff) | |
download | django-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.html | 6 | ||||
-rw-r--r-- | tests/templates/custom_admin/password_change_done.html | 6 | ||||
-rw-r--r-- | tests/templates/custom_admin/password_change_form.html | 6 |
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 %} |