mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
Fixed #25176 -- Prevented TestCase.setUpTestData() exception from leaking transaction.
This commit is contained in:
parent
f4afa699b6
commit
0abb06930f
3 changed files with 41 additions and 1 deletions
|
@ -18,3 +18,6 @@ Bugfixes
|
|||
* Fixed ``QuerySet.raw()`` so ``InvalidQuery`` is not raised when using the
|
||||
``db_column`` name of a ``ForeignKey`` field with ``primary_key=True``
|
||||
(:ticket:`12768`).
|
||||
|
||||
* Prevented an exception in ``TestCase.setUpTestData()`` from leaking the
|
||||
transaction (:ticket:`25176`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue