1
0
mirror of https://github.com/django/django.git synced 2024-11-18 23:44:22 +00:00
django/docs/ref/models
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
..
fields.txt Removed references to changes made in 1.2. 2012-06-07 15:02:35 +02:00
index.txt Fixed #14141: docs now use the :doc: construct for links between documents. 2010-08-19 19:27:44 +00:00
instances.txt Removed references to changes made in 1.2. 2012-06-07 15:02:35 +02:00
options.txt Edited models/options.txt changes from [17314] 2012-02-03 17:45:28 +00:00
querysets.txt Fixed #17485 -- Made defer work with select_related 2012-06-26 18:08:42 +03:00
relations.txt Fixed many more ReST indentation errors, somehow accidentally missed from [16955] 2011-10-14 00:12:01 +00:00