1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[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 4ee08958f1 from master
This commit is contained in:
Marco Fucci
2015-03-26 18:47:07 +00:00
committed by Tim Graham
parent 07e594bba2
commit 0e2d3b9304
6 changed files with 44 additions and 12 deletions

View File

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