Anssi Kääriäinen
b6c356b7bb
Fixed #17485 -- Made defer work with select_related
...
This commit tackles a couple of issues. First, in certain cases there
were some mixups if field.attname or field.name should be deferred.
Field.attname is now always used.
Another issue tackled is a case where field is both deferred by
.only(), and selected by select_related. This case is now an error.
A lot of thanks to koniiiik (Michal Petrucha) for the patch, and
to Andrei Antoukh for review.
2012-06-26 18:08:42 +03:00
..
2012-04-29 11:51:12 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 21:08:36 +02:00
2012-06-07 18:08:47 +02:00
2011-10-26 09:37:07 +00:00
2012-05-22 23:33:42 +03:00
2012-06-07 18:08:47 +02:00
2011-10-13 18:51:33 +00:00
2012-06-19 17:37:28 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-04-29 20:57:15 +02:00
2012-06-13 13:37:22 +02:00
2012-03-31 12:38:11 +00:00
2012-05-05 14:06:36 +02:00
2012-03-30 08:02:08 +00:00
2011-03-03 15:04:39 +00:00
2012-04-24 18:03:14 +00:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-05-25 19:03:15 +02:00
2011-10-13 18:51:33 +00:00
2012-05-03 16:39:16 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2011-10-13 18:51:33 +00:00
2012-06-07 18:08:47 +02:00
2011-10-13 18:51:33 +00:00
2011-10-26 21:03:18 +00:00
2012-05-12 22:35:21 +02:00
2012-06-07 18:08:47 +02:00
2012-06-26 18:08:42 +03:00
2012-03-17 01:24:39 +00:00
2012-06-23 16:31:16 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-06-24 19:54:56 +02:00
2012-06-19 17:37:28 +02:00
2012-06-07 18:08:47 +02:00
2011-10-13 21:34:56 +00:00
2012-06-09 01:12:14 +03:00
2011-10-13 21:34:56 +00:00
2012-05-19 17:43:34 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2011-10-13 21:34:56 +00:00
2012-06-07 18:08:47 +02:00
2012-06-01 21:50:06 -03:00
2012-06-07 18:08:47 +02:00
2012-06-12 14:25:51 +02:00
2012-06-07 18:08:47 +02:00
2011-10-13 21:34:56 +00:00
2012-06-07 18:08:47 +02:00
2012-06-23 08:11:15 -07:00
2011-10-13 21:34:56 +00:00
2012-06-07 18:08:47 +02:00
2011-10-13 21:34:56 +00:00
2012-04-29 20:57:15 +02:00
2012-04-29 20:57:15 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2011-10-13 21:34:56 +00:00
2012-06-07 18:49:19 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-06-22 13:28:15 +01:00
2012-06-07 18:08:47 +02:00
2011-10-13 21:34:56 +00:00
2012-04-10 12:29:25 +00:00
2012-06-26 18:08:42 +03:00
2012-06-07 18:08:47 +02:00
2012-05-17 11:10:48 +02:00
2012-05-03 16:39:16 +02:00
2011-10-13 21:34:56 +00:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2011-10-13 21:34:56 +00:00
2012-04-30 22:10:27 +03:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-06-19 10:49:33 +12:00
2012-06-07 18:08:47 +02:00
2012-06-09 17:22:24 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2012-06-09 15:59:52 +02:00
2012-04-29 20:57:15 +02:00
2012-06-14 11:32:40 +02:00
2012-04-29 13:40:10 +02:00
2012-06-07 18:08:47 +02:00
2012-06-07 18:08:47 +02:00
2006-06-20 05:29:19 +00:00