mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Merged the newforms-admin branch into trunk.
This is a backward incompatible change. The admin contrib app has been refactored. The newforms module has several improvements including FormSets and Media definitions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
1
tests/templates/custom_admin/change_form.html
Normal file
1
tests/templates/custom_admin/change_form.html
Normal file
@@ -0,0 +1 @@
|
||||
{% extends "admin/change_form.html" %}
|
||||
7
tests/templates/custom_admin/change_list.html
Normal file
7
tests/templates/custom_admin/change_list.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{% extends "admin/change_list.html" %}
|
||||
|
||||
{% block extrahead %}
|
||||
<script type="text/javascript">
|
||||
var hello = '{{ extra_var }}';
|
||||
</script>
|
||||
{% endblock %}
|
||||
1
tests/templates/custom_admin/delete_confirmation.html
Normal file
1
tests/templates/custom_admin/delete_confirmation.html
Normal file
@@ -0,0 +1 @@
|
||||
{% extends "admin/delete_confirmation.html" %}
|
||||
6
tests/templates/custom_admin/index.html
Normal file
6
tests/templates/custom_admin/index.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{% extends "admin/index.html" %}
|
||||
|
||||
{% block content %}
|
||||
Hello from a custom index template {{ foo }}
|
||||
{{ block.super }}
|
||||
{% endblock %}
|
||||
6
tests/templates/custom_admin/login.html
Normal file
6
tests/templates/custom_admin/login.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{% extends "admin/login.html" %}
|
||||
|
||||
{% block content %}
|
||||
Hello from a custom login template
|
||||
{{ block.super }}
|
||||
{% endblock %}
|
||||
1
tests/templates/custom_admin/object_history.html
Normal file
1
tests/templates/custom_admin/object_history.html
Normal file
@@ -0,0 +1 @@
|
||||
{% extends "admin/object_history.html" %}
|
||||
Reference in New Issue
Block a user