Stored AppConfig objects instead of models modules in the app cache.

This is a step towards allowing applications without a models module.
This commit is contained in:
Aymeric Augustin 2013-12-12 11:28:04 +01:00
parent 8662654d6d
commit 0e9d3472d7
3 changed files with 29 additions and 15 deletions

View file

@ -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']