diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2011-10-13 18:04:12 +0000 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2011-10-13 18:04:12 +0000 |
| commit | d5a45d79fe03cad93ab5761860e9bb6fc1db4c86 (patch) | |
| tree | 0fd5b87753749027117c088543e1ff8fdc7b945b /tests/modeltests/force_insert_update/tests.py | |
| parent | 99512d3544cd792e14927c24a8f92389c4006122 (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/force_insert_update/tests.py')
| -rw-r--r-- | tests/modeltests/force_insert_update/tests.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/modeltests/force_insert_update/tests.py b/tests/modeltests/force_insert_update/tests.py index bd3eb7dcf6..ea0e55f4c2 100644 --- a/tests/modeltests/force_insert_update/tests.py +++ b/tests/modeltests/force_insert_update/tests.py @@ -1,7 +1,9 @@ +from __future__ import absolute_import + from django.db import transaction, IntegrityError, DatabaseError from django.test import TestCase -from models import Counter, WithCustomPK +from .models import Counter, WithCustomPK class ForceTests(TestCase): |
