Fixed #25693 -- Prevented data loss with Prefetch and ManyToManyField.

Thanks to Jamie Matthews for finding and explaining the bug.
This commit is contained in:
Ian Foote 2015-11-06 20:18:00 +01:00 committed by Tim Graham
parent dbbae2cead
commit 4608573788
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

@ -53,6 +53,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