1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

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