diff options
author | Russell Keith-Magee <russell@keith-magee.com> | 2006-09-02 09:34:40 +0000 |
---|---|---|
committer | Russell Keith-Magee <russell@keith-magee.com> | 2006-09-02 09:34:40 +0000 |
commit | 826b9ff5e58ca7c16ef161258d2b5a8522effc6b (patch) | |
tree | 847615f8a5cadf7afc2120114962235d85c94bc8 /tests/templates | |
parent | d043200077244cfcc2b204dbb173d5d494d16f60 (diff) | |
download | django-826b9ff5e58ca7c16ef161258d2b5a8522effc6b.tar.gz |
Refs #2333 - Added model test for the test Client.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/templates')
-rw-r--r-- | tests/templates/404.html | 1 | ||||
-rw-r--r-- | tests/templates/500.html | 1 | ||||
-rw-r--r-- | tests/templates/login.html | 19 |
3 files changed, 21 insertions, 0 deletions
diff --git a/tests/templates/404.html b/tests/templates/404.html new file mode 100644 index 0000000000..da627e2222 --- /dev/null +++ b/tests/templates/404.html @@ -0,0 +1 @@ +Django Internal Tests: 404 Error
\ No newline at end of file diff --git a/tests/templates/500.html b/tests/templates/500.html new file mode 100644 index 0000000000..ff028cbeb0 --- /dev/null +++ b/tests/templates/500.html @@ -0,0 +1 @@ +Django Internal Tests: 500 Error
\ No newline at end of file diff --git a/tests/templates/login.html b/tests/templates/login.html new file mode 100644 index 0000000000..8a0974c9a1 --- /dev/null +++ b/tests/templates/login.html @@ -0,0 +1,19 @@ +<html> +<head></head> +<body> +<h1>Django Internal Tests: Login</h1> +{% 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> +</body> +</html>
\ No newline at end of file |