mirror of
https://github.com/django/django.git
synced 2025-11-03 05:13:23 +00:00
Fixed #27032 -- Prevented setup_test_environment() from being called twice.
This commit is contained in:
parent
a7863c78b7
commit
e7fb724cd2
3 changed files with 20 additions and 0 deletions
|
|
@ -364,6 +364,11 @@ Miscellaneous
|
|||
:meth:`~django.db.models.fields.related.RelatedManager.set` now
|
||||
clear the ``prefetch_related()`` cache.
|
||||
|
||||
* To prevent possible loss of saved settings,
|
||||
:func:`~django.test.utils.setup_test_environment` now raises an exception if
|
||||
called a second time before calling
|
||||
:func:`~django.test.utils.teardown_test_environment`.
|
||||
|
||||
.. _deprecated-features-1.11:
|
||||
|
||||
Features deprecated in 1.11
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue