Hello Don,
Django logs all database queries to the django.db.backends logger. It is not
redirected to STDOUT when using the default settings.LOGGING configuration
but you can enable it yourself[0].
If you wan to assert against a fixed number of queries you can use the
assertNumQueries context manager[1] provided by SimpleTestCase and its
subclasses to do that.
For an easy to setup and per-view breakdown of the number of queries I
suggest you install the django-debug-toolbar[2] and enable the SQL panel.
For more details about optimizing database accesses within a Django project
I suggest you have a look at the dedicated section of the documentation[3].
I've filed a ticket to make sure bulk_update is also mentioned in this section
of the documentation.
Cheers,
Simon