mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
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:
parent
79c3f226dd
commit
e8bfc1c747
2 changed files with 9 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue