summaryrefslogtreecommitdiff
path: root/tests/app_cache
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-12-11 21:44:27 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-12-17 10:17:43 +0100
commit860c2c8bc5c77194c41464655851379bf512a052 (patch)
tree98a3688dbbb67151d944dfc8e943b00bced701b1 /tests/app_cache
parentfe1389e911b0cdc487e5547c09c920c12f4e1ce0 (diff)
Moved django.db.models.loading to django.apps.cache.
This commit doesn't contain any code changes; it's purely a refactoring.
Diffstat (limited to 'tests/app_cache')
-rw-r--r--tests/app_cache/models.py2
-rw-r--r--tests/app_cache/tests.py6
2 files changed, 5 insertions, 3 deletions
diff --git a/tests/app_cache/models.py b/tests/app_cache/models.py
index 1b4d33c2f9..cc092390ab 100644
--- a/tests/app_cache/models.py
+++ b/tests/app_cache/models.py
@@ -1,5 +1,5 @@
+from django.apps.cache import BaseAppCache
from django.db import models
-from django.db.models.loading import BaseAppCache
# We're testing app cache presence on load, so this is handy.
diff --git a/tests/app_cache/tests.py b/tests/app_cache/tests.py
index b72b862de3..564f9f6f48 100644
--- a/tests/app_cache/tests.py
+++ b/tests/app_cache/tests.py
@@ -1,7 +1,9 @@
from __future__ import absolute_import
-from django.test import TestCase
-from django.db.models.loading import cache, BaseAppCache
+
+from django.apps.cache import cache, BaseAppCache
from django.db import models
+from django.test import TestCase
+
from .models import TotallyNormal, SoAlternative, new_app_cache