From 0e2d3b93043676975aa921a70b5faafef02cac5c Mon Sep 17 00:00:00 2001 From: Marco Fucci Date: Thu, 26 Mar 2015 18:47:07 +0000 Subject: [1.8.x] Fixed #24505 -- Fixed clash with hidden m2m fields. Added support for multiple m2m fields with the same 'to' model and with related_name set to '+'. Backport of 4ee08958f154594b538207a53c1d457687b3f7ae from master --- docs/releases/1.8.5.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.8.5.txt b/docs/releases/1.8.5.txt index 14893f4a72..b951ff98d8 100644 --- a/docs/releases/1.8.5.txt +++ b/docs/releases/1.8.5.txt @@ -52,3 +52,7 @@ Bugfixes (:ticket:`24921`). * Fixed the ``manage.py test --keepdb`` option on Oracle (:ticket:`25421`). + +* Fixed incorrect queries with multiple many-to-many fields on a model with the + same 'to' model and with ``related_name`` set to '+' (:ticket:`24505`, + :ticket:`25486`). -- cgit v1.3