summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2011-06-10 14:49:44 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2011-06-10 14:49:44 +0000
commit41895618205d2dd0f2118b93e1ee7879dffe6223 (patch)
tree457b8e7053529eee7015c9379c91bbf340c21093
parentaa5506d6f69180820db8f1811b4c8780d39a5733 (diff)
Fixed #16210 -- Added some missing __future__ imports to support with statements on 2.5. Thanks to Julien Phalip for the report and patch
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--tests/modeltests/model_forms/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/modeltests/model_forms/tests.py b/tests/modeltests/model_forms/tests.py
index f90812c145..b67c160052 100644
--- a/tests/modeltests/model_forms/tests.py
+++ b/tests/modeltests/model_forms/tests.py
@@ -1,3 +1,5 @@
+from __future__ import with_statement
+
import datetime
import os
from decimal import Decimal