diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/modeltests/tablespaces/tests.py | 4 | ||||
| -rw-r--r-- | tests/regressiontests/admin_inlines/admin.py | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/tests/modeltests/tablespaces/tests.py b/tests/modeltests/tablespaces/tests.py index 17fdb8dd74..1eaddef079 100644 --- a/tests/modeltests/tablespaces/tests.py +++ b/tests/modeltests/tablespaces/tests.py @@ -1,3 +1,5 @@ +from __future__ import absolute_import + import copy from django.conf import settings @@ -7,7 +9,7 @@ from django.db.models.loading import cache from django.core.management.color import no_style from django.test import TestCase, skipIfDBFeature, skipUnlessDBFeature -from models import Article, ArticleRef, Authors, Reviewers, Scientist, ScientistRef +from .models import Article, ArticleRef, Authors, Reviewers, Scientist, ScientistRef # We can't test the DEFAULT_TABLESPACE and DEFAULT_INDEX_TABLESPACE settings # because they're evaluated when the model class is defined. As a consequence, diff --git a/tests/regressiontests/admin_inlines/admin.py b/tests/regressiontests/admin_inlines/admin.py index 508f30223f..79ca4413a2 100644 --- a/tests/regressiontests/admin_inlines/admin.py +++ b/tests/regressiontests/admin_inlines/admin.py @@ -1,7 +1,9 @@ +from __future__ import absolute_import + from django.contrib import admin from django import forms -from models import * +from .models import * site = admin.AdminSite(name="admin") |
