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

Fixed #26145 -- Made debug context processor return queries for all databases.

This commit is contained in:
Mounir Messelmeni
2016-04-09 14:09:08 +02:00
committed by Tim Graham
parent 9e3f141701
commit 03e1cc930c
6 changed files with 27 additions and 5 deletions

View File

@@ -87,3 +87,5 @@ class DebugContextProcessorTests(TestCase):
self.assertContains(response, 'Second query list: 1')
# Check we have not actually memoized connection.queries
self.assertContains(response, 'Third query list: 2')
# Check queries for DB connection 'other'
self.assertContains(response, 'Fourth query list: 3')