Anssi Kääriäinen
3dcd435a0e
Fixed #19500 -- Solved a regression in join reuse
...
The ORM didn't reuse joins for direct foreign key traversals when using
chained filters. For example:
qs.filter(fk__somefield=1).filter(fk__somefield=2))
produced two joins.
As a bonus, reverse onetoone filters can now reuse joins correctly
The regression was caused by the join() method refactor in commit
68847135bc9acb2c51c2d36797d0a85395f0cd35
Thanks for Simon Charette for spotting some issues with the first draft
of the patch.
2012-12-20 21:27:00 +02:00
..
2012-11-25 20:39:23 +01:00
2012-10-18 20:58:52 -03:00
2012-12-04 10:36:56 -08:00
2012-09-27 15:57:28 +02:00
2012-06-07 18:08:47 +02:00
2011-10-26 09:37:07 +00:00
2012-12-08 11:13:52 +01:00
2012-11-17 19:19:59 +01:00
2012-08-12 14:44:40 +02:00
2012-12-16 07:18:45 +08:00
2012-12-08 12:41:11 +01:00
2012-12-16 17:23:26 +02:00
2012-12-08 11:13:52 +01:00
2012-12-16 23:26:16 +02:00
2012-08-08 14:50:01 +02:00
2012-12-08 11:13:52 +01:00
2012-03-30 08:02:08 +00:00
2012-08-16 13:01:16 +02:00
2012-11-24 01:13:12 +02:00
2012-11-11 07:18:45 -08:00
2012-12-16 21:12:45 +01:00
2012-09-26 21:10:17 +02:00
2011-10-13 18:51:33 +00:00
2012-08-08 14:50:01 +02:00
2012-08-13 11:54:21 +02:00
2012-08-12 14:44:40 +02:00
2012-08-12 14:44:40 +02:00
2012-08-12 14:44:40 +02:00
2012-08-12 14:44:40 +02:00
2012-08-07 12:00:22 +02:00
2012-08-11 23:23:31 +02:00
2012-12-03 12:11:32 +00:00
2012-11-28 23:44:50 +02:00
2012-11-27 19:47:20 +02:00
2012-09-28 18:16:08 +03:00
2012-12-13 13:33:11 +02:00
2012-12-13 13:33:11 +02:00
2012-12-08 11:13:52 +01:00
2012-11-17 17:25:21 +01:00
2012-12-08 11:13:52 +01:00
2012-12-08 11:13:52 +01:00
2012-08-15 23:12:08 -04:00
2012-12-20 21:27:00 +02:00
2012-12-04 13:22:42 +01:00
2011-10-13 21:34:56 +00:00
2012-10-20 23:22:46 +02:00
2012-10-21 22:40:31 +02:00
2012-12-08 11:13:52 +01:00
2012-12-08 11:13:52 +01:00
2012-12-18 09:56:30 +01:00
2012-12-10 17:49:04 +01:00
2012-09-07 13:17:34 -04:00
2012-10-27 05:26:42 +03:00
2012-11-04 10:16:06 -08:00
2012-10-12 16:21:51 -05:00
2012-12-08 11:13:52 +01:00
2012-12-13 13:33:11 +02:00
2012-12-13 13:33:11 +02:00
2012-11-14 10:43:33 +01:00
2012-12-13 13:33:11 +02:00
2012-09-07 13:17:34 -04:00
2011-10-13 21:34:56 +00:00
2012-11-03 21:28:33 +01:00
2012-04-29 20:57:15 +02:00
2012-12-08 11:13:52 +01:00
2012-12-08 11:13:52 +01:00
2012-11-29 21:45:43 +01:00
2012-08-12 14:44:40 +02:00
2012-08-12 14:44:40 +02:00
2012-09-08 11:58:48 -04:00
2012-12-13 13:33:11 +02:00
2012-09-07 13:17:34 -04:00
2012-11-23 10:02:18 +01:00
2012-08-25 14:14:45 +03:00
2012-08-12 14:44:40 +02:00
2012-08-12 14:44:40 +02:00
2012-08-12 14:44:40 +02:00
2012-10-09 21:36:35 +02:00
2012-12-13 15:02:08 +02:00
2012-12-20 21:27:00 +02:00
2012-06-22 13:28:15 +01:00
2012-12-10 22:11:40 +01:00
2012-09-08 16:58:35 -06:00
2011-10-13 21:34:56 +00:00
2012-11-15 17:15:21 +02:00
2012-08-12 14:44:40 +02:00
2012-12-08 21:07:59 +01:00
2012-12-08 11:13:52 +01:00
2012-11-25 19:06:17 +01:00
2012-09-07 13:47:12 -04:00
2012-06-07 18:08:47 +02:00
2012-08-25 22:22:32 +02:00
2012-08-12 14:44:40 +02:00
2012-04-30 22:10:27 +03:00
2012-12-08 11:13:52 +01:00
2012-08-12 14:44:40 +02:00
2012-12-20 16:10:19 +08:00
2012-09-30 22:40:25 +02:00
2012-12-09 16:17:56 +01:00
2012-12-08 11:13:52 +01:00
2012-07-24 17:24:16 -03:00
2012-12-13 13:33:11 +02:00
2012-06-07 18:08:47 +02:00
2012-11-29 21:45:43 +01:00
2012-12-08 11:13:52 +01:00
2012-12-08 11:13:52 +01:00
2012-04-29 13:40:10 +02:00
2012-12-10 22:11:39 +01:00
2012-09-07 13:17:34 -04:00
2006-06-20 05:29:19 +00:00