mirror of
https://github.com/django/django.git
synced 2025-08-29 23:14:23 +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:
parent
8662654d6d
commit
0e9d3472d7
3 changed files with 29 additions and 15 deletions
|
@ -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']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue