diff options
author | Florian Apolloner <florian@apolloner.eu> | 2013-02-26 09:51:56 +0100 |
---|---|---|
committer | Florian Apolloner <florian@apolloner.eu> | 2013-02-26 14:36:57 +0100 |
commit | 41d7a9a907881f52f27ad5f743707a27e8574366 (patch) | |
tree | cc3837cd672a3abbdd289e79edee53586f80e090 /tests/templates | |
parent | 8dd8400f7eb7a4cf0a2e1a0c6cd3e5825ac94be7 (diff) | |
download | django-41d7a9a907881f52f27ad5f743707a27e8574366.tar.gz |
Moved test_templates to templates to prevent issues with regressiontests/templates later on.
Diffstat (limited to 'tests/templates')
25 files changed, 0 insertions, 103 deletions
diff --git a/tests/templates/base.html b/tests/templates/base.html deleted file mode 100644 index 611bc094a9..0000000000 --- a/tests/templates/base.html +++ /dev/null @@ -1,8 +0,0 @@ -<html> -<head></head> -<body> -<h1>Django Internal Tests: {% block title %}{% endblock %}</h1> -{% block content %} -{% endblock %} -</body> -</html>
\ No newline at end of file diff --git a/tests/templates/comments/comment_notification_email.txt b/tests/templates/comments/comment_notification_email.txt deleted file mode 100644 index 63f149392e..0000000000 --- a/tests/templates/comments/comment_notification_email.txt +++ /dev/null @@ -1,3 +0,0 @@ -A comment has been posted on {{ content_object }}. -The comment reads as follows: -{{ comment }} diff --git a/tests/templates/custom_admin/add_form.html b/tests/templates/custom_admin/add_form.html deleted file mode 100644 index f42ba4b649..0000000000 --- a/tests/templates/custom_admin/add_form.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "admin/change_form.html" %} diff --git a/tests/templates/custom_admin/change_form.html b/tests/templates/custom_admin/change_form.html deleted file mode 100644 index f42ba4b649..0000000000 --- a/tests/templates/custom_admin/change_form.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "admin/change_form.html" %} diff --git a/tests/templates/custom_admin/change_list.html b/tests/templates/custom_admin/change_list.html deleted file mode 100644 index eebc9c7e30..0000000000 --- a/tests/templates/custom_admin/change_list.html +++ /dev/null @@ -1,7 +0,0 @@ -{% 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 deleted file mode 100644 index 9353c5bfc8..0000000000 --- a/tests/templates/custom_admin/delete_confirmation.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "admin/delete_confirmation.html" %} diff --git a/tests/templates/custom_admin/delete_selected_confirmation.html b/tests/templates/custom_admin/delete_selected_confirmation.html deleted file mode 100644 index 9268536092..0000000000 --- a/tests/templates/custom_admin/delete_selected_confirmation.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "admin/delete_selected_confirmation.html" %} diff --git a/tests/templates/custom_admin/index.html b/tests/templates/custom_admin/index.html deleted file mode 100644 index 75b6ca3d18..0000000000 --- a/tests/templates/custom_admin/index.html +++ /dev/null @@ -1,6 +0,0 @@ -{% 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 deleted file mode 100644 index e10a26952f..0000000000 --- a/tests/templates/custom_admin/login.html +++ /dev/null @@ -1,6 +0,0 @@ -{% extends "admin/login.html" %} - -{% block content %} -Hello from a custom login template -{{ block.super }} -{% endblock %} diff --git a/tests/templates/custom_admin/logout.html b/tests/templates/custom_admin/logout.html deleted file mode 100644 index 3a9301b6c6..0000000000 --- a/tests/templates/custom_admin/logout.html +++ /dev/null @@ -1,6 +0,0 @@ -{% extends "registration/logged_out.html" %} - -{% block content %} -Hello from a custom logout template -{{ block.super }} -{% endblock %} diff --git a/tests/templates/custom_admin/object_history.html b/tests/templates/custom_admin/object_history.html deleted file mode 100644 index aee3b5bcba..0000000000 --- a/tests/templates/custom_admin/object_history.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "admin/object_history.html" %} diff --git a/tests/templates/custom_admin/password_change_done.html b/tests/templates/custom_admin/password_change_done.html deleted file mode 100644 index 0e4a7f25ec..0000000000 --- a/tests/templates/custom_admin/password_change_done.html +++ /dev/null @@ -1,6 +0,0 @@ -{% 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 deleted file mode 100644 index 1c424934e4..0000000000 --- a/tests/templates/custom_admin/password_change_form.html +++ /dev/null @@ -1,6 +0,0 @@ -{% extends "registration/password_change_form.html" %} - -{% block content %} -Hello from a custom password change form template -{{ block.super }} -{% endblock %} diff --git a/tests/templates/extended.html b/tests/templates/extended.html deleted file mode 100644 index e0d8a13727..0000000000 --- a/tests/templates/extended.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "base.html" %} -{% block title %}Extended template{% endblock %} -{% block content %} -This is just a template extending the base. -{% endblock %}
\ No newline at end of file diff --git a/tests/templates/form_view.html b/tests/templates/form_view.html deleted file mode 100644 index 1487217547..0000000000 --- a/tests/templates/form_view.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "base.html" %} -{% block title %}Submit data{% endblock %} -{% block content %} -<h1>{{ message }}</h1> -<form method='post' action='.'> -{% if form.errors %} -<p class='warning'>Please correct the errors below:</p> -{% endif %} -<ul class='form'> -{{ form }} -<li><input type='submit' value='Submit'></li> -</ul> -</form> - -{% endblock %}
\ No newline at end of file diff --git a/tests/templates/login.html b/tests/templates/login.html deleted file mode 100644 index d55e9ddc75..0000000000 --- a/tests/templates/login.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "base.html" %} -{% block title %}Login{% endblock %} -{% block content %} -{% if form.has_errors %} -<p>Your username and password didn't match. Please try again.</p> -{% endif %} - -<form method="post" action="."> -<table> -<tr><td><label for="id_username">Username:</label></td><td>{{ form.username }}</td></tr> -<tr><td><label for="id_password">Password:</label></td><td>{{ form.password }}</td></tr> -</table> - -<input type="submit" value="login" /> -<input type="hidden" name="next" value="{{ next }}" /> -</form> -{% endblock %}
\ No newline at end of file diff --git a/tests/templates/views/article_archive_day.html b/tests/templates/views/article_archive_day.html deleted file mode 100644 index bd2d67f6f3..0000000000 --- a/tests/templates/views/article_archive_day.html +++ /dev/null @@ -1 +0,0 @@ -This template intentionally left blank diff --git a/tests/templates/views/article_archive_month.html b/tests/templates/views/article_archive_month.html deleted file mode 100644 index 3f8ff55da6..0000000000 --- a/tests/templates/views/article_archive_month.html +++ /dev/null @@ -1 +0,0 @@ -This template intentionally left blank
\ No newline at end of file diff --git a/tests/templates/views/article_confirm_delete.html b/tests/templates/views/article_confirm_delete.html deleted file mode 100644 index 3f8ff55da6..0000000000 --- a/tests/templates/views/article_confirm_delete.html +++ /dev/null @@ -1 +0,0 @@ -This template intentionally left blank
\ No newline at end of file diff --git a/tests/templates/views/article_detail.html b/tests/templates/views/article_detail.html deleted file mode 100644 index 952299db91..0000000000 --- a/tests/templates/views/article_detail.html +++ /dev/null @@ -1 +0,0 @@ -Article detail template. diff --git a/tests/templates/views/article_form.html b/tests/templates/views/article_form.html deleted file mode 100644 index e2aa1f9535..0000000000 --- a/tests/templates/views/article_form.html +++ /dev/null @@ -1,3 +0,0 @@ -Article form template. - -{{ form.errors }} diff --git a/tests/templates/views/article_list.html b/tests/templates/views/article_list.html deleted file mode 100644 index 3840895aa4..0000000000 --- a/tests/templates/views/article_list.html +++ /dev/null @@ -1 +0,0 @@ -{{ object_list }}
\ No newline at end of file diff --git a/tests/templates/views/datearticle_archive_month.html b/tests/templates/views/datearticle_archive_month.html deleted file mode 100644 index 3f8ff55da6..0000000000 --- a/tests/templates/views/datearticle_archive_month.html +++ /dev/null @@ -1 +0,0 @@ -This template intentionally left blank
\ No newline at end of file diff --git a/tests/templates/views/urlarticle_detail.html b/tests/templates/views/urlarticle_detail.html deleted file mode 100644 index 924f310300..0000000000 --- a/tests/templates/views/urlarticle_detail.html +++ /dev/null @@ -1 +0,0 @@ -UrlArticle detail template. diff --git a/tests/templates/views/urlarticle_form.html b/tests/templates/views/urlarticle_form.html deleted file mode 100644 index 578dd98ca6..0000000000 --- a/tests/templates/views/urlarticle_form.html +++ /dev/null @@ -1,3 +0,0 @@ -UrlArticle form template. - -{{ form.errors }} |