mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Removed BaseAppCache.app_store.
It was only storing redundant information. This is part of the effort to allow applications without a models module.
This commit is contained in:
@@ -160,7 +160,6 @@ class ProxyModelTests(TestCase):
|
||||
# need to be removed in order to prevent bad interactions
|
||||
# with the flush operation in other tests.
|
||||
old_app_models = copy.deepcopy(cache.app_models)
|
||||
old_app_store = copy.deepcopy(cache.app_store)
|
||||
|
||||
class SwappableModel(models.Model):
|
||||
|
||||
@@ -178,7 +177,6 @@ class ProxyModelTests(TestCase):
|
||||
proxy = True
|
||||
finally:
|
||||
cache.app_models = old_app_models
|
||||
cache.app_store = old_app_store
|
||||
|
||||
def test_myperson_manager(self):
|
||||
Person.objects.create(name="fred")
|
||||
|
||||
Reference in New Issue
Block a user