diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2012-06-26 18:08:42 +0300 |
|---|---|---|
| committer | Anssi Kääriäinen <akaariai@gmail.com> | 2012-06-26 18:08:42 +0300 |
| commit | b6c356b7bb97f3d6d4831b31e67868313bbbc090 (patch) | |
| tree | 1cd4c587080703c5b86b13349858509ce145ca4c /docs/ref/forms | |
| parent | 531878302735e6a2b36d82b584947bbf8eae8111 (diff) | |
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.
Diffstat (limited to 'docs/ref/forms')
0 files changed, 0 insertions, 0 deletions
