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:
@@ -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']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user