diff options
author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-12 11:28:04 +0100 |
---|---|---|
committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-17 10:17:44 +0100 |
commit | 0e9d3472d7f7b38d36be2f09393b04e1783bca3b (patch) | |
tree | 5ba6e47b6c0a690659cd70c08af30293bbc7d9df /tests/proxy_model_inheritance | |
parent | 8662654d6d50e4d89f771a757ae5fc83c6b74db0 (diff) | |
download | django-0e9d3472d7f7b38d36be2f09393b04e1783bca3b.tar.gz |
Stored AppConfig objects instead of models modules in the app cache.
This is a step towards allowing applications without a models module.
Diffstat (limited to 'tests/proxy_model_inheritance')
-rw-r--r-- | tests/proxy_model_inheritance/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/proxy_model_inheritance/tests.py b/tests/proxy_model_inheritance/tests.py index 23058d122b..f3cdba20a9 100644 --- a/tests/proxy_model_inheritance/tests.py +++ b/tests/proxy_model_inheritance/tests.py @@ -32,8 +32,8 @@ class ProxyModelInheritanceTests(TransactionTestCase): def tearDown(self): sys.path = self.old_sys_path - del app_cache.app_labels['app1'] - del app_cache.app_labels['app2'] + del app_cache.app_configs['app1'] + del app_cache.app_configs['app2'] del app_cache.app_models['app1'] del app_cache.app_models['app2'] |