1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

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

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`).