diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2007-09-04 00:50:06 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2007-09-04 00:50:06 +0000 |
| commit | 53372fcb07191941cb021bd1545933115407e6c2 (patch) | |
| tree | c8885f0ca581d512cea0d63253671f28abb63dbe /tests | |
| parent | 1da7b5cde720337026f5c3650be5d26d9d326949 (diff) | |
Cleaned up some imports.
Fixed long lines.
Changed some docstrings to use "action words".
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/modeltests/test_client/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/modeltests/test_client/views.py b/tests/modeltests/test_client/views.py index 3fc638b230..50d964605e 100644 --- a/tests/modeltests/test_client/views.py +++ b/tests/modeltests/test_client/views.py @@ -1,10 +1,11 @@ from xml.dom.minidom import parseString + from django.core.mail import EmailMessage, SMTPConnection from django.template import Context, Template from django.http import HttpResponse, HttpResponseRedirect, HttpResponseNotFound from django.contrib.auth.decorators import login_required from django.newforms.forms import Form -from django.newforms import fields +from django.newforms import fields, ValidationError from django.shortcuts import render_to_response def get_view(request): |
