From eb85e6672aeb00c67a3666785965edeceed976af Mon Sep 17 00:00:00 2001 From: Andriy Sokolovskiy Date: Sat, 9 May 2015 13:57:13 +0300 Subject: [1.8.x] Fixed #24156 -- Fixed inherited related name of ManyToManyField. Fixed situation when parent abstract model declares related_name='+' and child models had an invalid queryset. Backport of f7b297815819153b53dc1125d3f42869fb1b7ebc from master --- docs/releases/1.8.6.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.8.6.txt b/docs/releases/1.8.6.txt index b972ee0148..acc8a8a93b 100644 --- a/docs/releases/1.8.6.txt +++ b/docs/releases/1.8.6.txt @@ -17,3 +17,7 @@ Bugfixes * Fixed system check crash on ``ForeignKey`` to abstract model (:ticket:`25503`). + +* Fixed incorrect queries when you have multiple ``ManyToManyField``\s on + different models that have the same field name, point to the same model, and + have their reverse relations disabled (:ticket:`25545`). -- cgit v1.3