mirror of
https://github.com/django/django.git
synced 2025-10-30 17:16:10 +00:00
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
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from __future__ import with_statement
|
||||
from __future__ import with_statement, absolute_import
|
||||
|
||||
from django.conf import settings
|
||||
from django.core.exceptions import ImproperlyConfigured
|
||||
@@ -6,7 +6,7 @@ from django.db.models.loading import get_app
|
||||
from django.test import TestCase
|
||||
from django.test.utils import override_settings
|
||||
|
||||
from models import Empty
|
||||
from .models import Empty
|
||||
|
||||
|
||||
class EmptyModelTests(TestCase):
|
||||
|
||||
Reference in New Issue
Block a user