1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

[1.8.x] Fixed #25693 -- Prevented data loss with Prefetch and ManyToManyField.

Thanks to Jamie Matthews for finding and explaining the bug.

Backport of 4608573788 from master
This commit is contained in:
Ian Foote
2015-11-06 20:18:00 +01:00
committed by Tim Graham
parent 8c8a6d8a3f
commit 5fc9a1b8bd
5 changed files with 39 additions and 0 deletions

13
docs/releases/1.7.11.txt Normal file
View File

@@ -0,0 +1,13 @@
===========================
Django 1.7.11 release notes
===========================
*Under development*
Django 1.7.11 fixes a data loss bug in 1.7.10.
Bugfixes
========
* Fixed a data loss possibility with :class:`~django.db.models.Prefetch` if
``to_attr`` is set to a ``ManyToManyField`` (:ticket:`25693`).

View File

@@ -21,3 +21,6 @@ Bugfixes
* Fixed a regression in 1.8.6 that caused an application with South migrations
in the ``migrations`` directory to fail (:ticket:`25618`).
* Fixed a data loss possibility with :class:`~django.db.models.Prefetch` if
``to_attr`` is set to a ``ManyToManyField`` (:ticket:`25693`).

View File

@@ -39,6 +39,7 @@ versions of the documentation contain the release notes for any later releases.
.. toctree::
:maxdepth: 1
1.7.11
1.7.10
1.7.9
1.7.8