diff options
author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-24 12:25:17 +0100 |
---|---|---|
committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-24 12:25:17 +0100 |
commit | 1716b7ce5a02b2a77188dfea2d41e25dfa58821c (patch) | |
tree | f3422c0d6725f45756a3b9deb32406d319b8a72e /tests/no_models | |
parent | e9e522a8e7455900a775678e5d6bc518a289b8d1 (diff) | |
download | django-1716b7ce5a02b2a77188dfea2d41e25dfa58821c.tar.gz |
Renamed AppCache to Apps.
Also renamed app_cache to apps and "app cache" to "app registry".
Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
Diffstat (limited to 'tests/no_models')
-rw-r--r-- | tests/no_models/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/no_models/tests.py b/tests/no_models/tests.py index f9ff80485e..bd17364071 100644 --- a/tests/no_models/tests.py +++ b/tests/no_models/tests.py @@ -1,4 +1,4 @@ -from django.apps import app_cache +from django.apps import apps from django.test import TestCase @@ -6,5 +6,5 @@ class NoModelTests(TestCase): def test_no_models(self): """Test that it's possible to load an app with no models.py file.""" - app_config = app_cache.get_app_config('no_models') + app_config = apps.get_app_config('no_models') self.assertIsNone(app_config.models_module) |