diff options
| author | Paulo <commonzenpython@gmail.com> | 2016-06-02 17:44:47 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-06-03 10:18:24 -0400 |
| commit | 38575b007a722d6af510ea46d46393a4cda9ca29 (patch) | |
| tree | 4b7c33608e1fbf0209e8230f7c9c1a010dda795f /tests/proxy_models/tests.py | |
| parent | 9899347641b2d3b4457cc99203a2b06504b32a16 (diff) | |
Fixed #15250 -- Avoided extra query on some multi-table inheritance queries.
Thanks marekw2143 for the initial patch and carljm for support.
Diffstat (limited to 'tests/proxy_models/tests.py')
| -rw-r--r-- | tests/proxy_models/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/proxy_models/tests.py b/tests/proxy_models/tests.py index ecbb70c7c4..833cdf3956 100644 --- a/tests/proxy_models/tests.py +++ b/tests/proxy_models/tests.py @@ -384,7 +384,7 @@ class ProxyModelAdminTests(TestCase): tracker_user = TrackerUser.objects.all()[0] base_user = BaseUser.objects.all()[0] issue = Issue.objects.all()[0] - with self.assertNumQueries(7): + with self.assertNumQueries(6): collector = admin.utils.NestedObjects('default') collector.collect(ProxyTrackerUser.objects.all()) self.assertIn(tracker_user, collector.edges.get(None, ())) |
