mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #27032 -- Prevented setup_test_environment() from being called twice.
This commit is contained in:
committed by
Tim Graham
parent
a7863c78b7
commit
e7fb724cd2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user