summaryrefslogtreecommitdiff
path: root/tests/modeltests/test_client/models.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2011-10-13 18:04:12 +0000
committerAlex Gaynor <alex.gaynor@gmail.com>2011-10-13 18:04:12 +0000
commitd5a45d79fe03cad93ab5761860e9bb6fc1db4c86 (patch)
tree0fd5b87753749027117c088543e1ff8fdc7b945b /tests/modeltests/test_client/models.py
parent99512d3544cd792e14927c24a8f92389c4006122 (diff)
Convert all modeltests to use absolute imports, rather than relative ones.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/modeltests/test_client/models.py')
-rw-r--r--tests/modeltests/test_client/models.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/modeltests/test_client/models.py b/tests/modeltests/test_client/models.py
index e7bb004ff4..df872cd190 100644
--- a/tests/modeltests/test_client/models.py
+++ b/tests/modeltests/test_client/models.py
@@ -20,11 +20,13 @@ testing against the contexts and templates produced by a view,
rather than the HTML rendered to the end-user.
"""
+from __future__ import absolute_import
+
from django.conf import settings
from django.core import mail
from django.test import Client, TestCase, RequestFactory
-from views import get_view
+from .views import get_view
class ClientTest(TestCase):