mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #21462 -- Made assertNumQueries print executed queries on failure.
This commit is contained in:
committed by
Simon Charette
parent
75924cfa6d
commit
5cd6477fd6
@@ -713,6 +713,9 @@ Miscellaneous
|
||||
``select_related('foo').select_related('bar')``. Previously the latter would
|
||||
have been equivalent to ``select_related('bar')``.
|
||||
|
||||
* :meth:`~django.test.TransactionTestCase.assertNumQueries` now prints
|
||||
out the list of executed queries if the assertion fails.
|
||||
|
||||
Features deprecated in 1.7
|
||||
==========================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user