summaryrefslogtreecommitdiff
path: root/tests/templates/custom_admin
diff options
context:
space:
mode:
authorJustin Bronn <jbronn@gmail.com>2008-07-19 13:30:47 +0000
committerJustin Bronn <jbronn@gmail.com>2008-07-19 13:30:47 +0000
commit149e731c3c5a2cc96b7d3c72070401df6c2a238e (patch)
tree2a819f695246ab36139b7f8846085c9df1563bd8 /tests/templates/custom_admin
parent5bf3565a263533e37b2e1217e8d447cb7e02f5b4 (diff)
gis: Merged revisions 7921,7926-7928,7938-7941,7945-7947,7949-7950,7952,7955-7956,7961,7964-7968,7970-7978 via svnmerge from trunk.
This includes the newforms-admin branch, and thus is backwards-incompatible. The geographic admin is _not_ in this changeset, and is forthcoming. git-svn-id: http://code.djangoproject.com/svn/django/branches/gis@7979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/templates/custom_admin')
-rw-r--r--tests/templates/custom_admin/change_form.html1
-rw-r--r--tests/templates/custom_admin/change_list.html7
-rw-r--r--tests/templates/custom_admin/delete_confirmation.html1
-rw-r--r--tests/templates/custom_admin/index.html6
-rw-r--r--tests/templates/custom_admin/login.html6
-rw-r--r--tests/templates/custom_admin/object_history.html1
6 files changed, 22 insertions, 0 deletions
diff --git a/tests/templates/custom_admin/change_form.html b/tests/templates/custom_admin/change_form.html
new file mode 100644
index 0000000000..f42ba4b649
--- /dev/null
+++ b/tests/templates/custom_admin/change_form.html
@@ -0,0 +1 @@
+{% extends "admin/change_form.html" %}
diff --git a/tests/templates/custom_admin/change_list.html b/tests/templates/custom_admin/change_list.html
new file mode 100644
index 0000000000..eebc9c7e30
--- /dev/null
+++ b/tests/templates/custom_admin/change_list.html
@@ -0,0 +1,7 @@
+{% extends "admin/change_list.html" %}
+
+{% block extrahead %}
+<script type="text/javascript">
+var hello = '{{ extra_var }}';
+</script>
+{% endblock %}
diff --git a/tests/templates/custom_admin/delete_confirmation.html b/tests/templates/custom_admin/delete_confirmation.html
new file mode 100644
index 0000000000..9353c5bfc8
--- /dev/null
+++ b/tests/templates/custom_admin/delete_confirmation.html
@@ -0,0 +1 @@
+{% extends "admin/delete_confirmation.html" %}
diff --git a/tests/templates/custom_admin/index.html b/tests/templates/custom_admin/index.html
new file mode 100644
index 0000000000..75b6ca3d18
--- /dev/null
+++ b/tests/templates/custom_admin/index.html
@@ -0,0 +1,6 @@
+{% extends "admin/index.html" %}
+
+{% block content %}
+Hello from a custom index template {{ foo }}
+{{ block.super }}
+{% endblock %}
diff --git a/tests/templates/custom_admin/login.html b/tests/templates/custom_admin/login.html
new file mode 100644
index 0000000000..e10a26952f
--- /dev/null
+++ b/tests/templates/custom_admin/login.html
@@ -0,0 +1,6 @@
+{% extends "admin/login.html" %}
+
+{% block content %}
+Hello from a custom login template
+{{ block.super }}
+{% endblock %}
diff --git a/tests/templates/custom_admin/object_history.html b/tests/templates/custom_admin/object_history.html
new file mode 100644
index 0000000000..aee3b5bcba
--- /dev/null
+++ b/tests/templates/custom_admin/object_history.html
@@ -0,0 +1 @@
+{% extends "admin/object_history.html" %}