Stopped returning mirrors from setup_databases.

The return value of setup_databases is only used as an argument for
teardown_databases which doesn't need mirrors.
This commit is contained in:
Aymeric Augustin 2015-09-06 09:20:35 +02:00
parent 79c3f226dd
commit e8bfc1c747
2 changed files with 9 additions and 5 deletions

View file

@ -995,6 +995,7 @@ Miscellaneous
* Private function ``django.utils.functional.total_ordering()`` has been
removed. It contained a workaround for a ``functools.total_ordering()`` bug
in Python versions older than 2.7.3.
* XML serialization (either through :djadmin:`dumpdata` or the syndication
framework) used to output any characters it received. Now if the content to
be serialized contains any control characters not allowed in the XML 1.0
@ -1023,6 +1024,12 @@ Miscellaneous
as it's unused by the application. If your project or a third-party app makes
use of it, :ref:`create a custom ModelAdmin <flatpages-admin>` to add it back.
* The return value of
:meth:`~django.test.runner.DiscoverRunner.setup_databases` and the first
argument of :meth:`~django.test.runner.DiscoverRunner.teardown_databases`
changed. They used to be ``(old_names, mirrors)`` tuples. Now they're just
the first item, ``old_names``.
.. _deprecated-features-1.9:
Features deprecated in 1.9