1
0
mirror of https://github.com/django/django.git synced 2024-12-27 11:35:53 +00:00
django/docs/ref
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
..
class-based-views Fixed #18451 -- Vastly improved class based view documentation. 2012-06-11 10:40:23 +02:00
contrib Corrected the instance_dict description for form wizards. 2012-06-22 15:46:49 +02:00
files Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. 2012-06-07 18:08:47 +02:00
forms Fixed a documentation typo on the widget page. 2012-06-19 10:37:53 +02:00
models Fixed #17485 -- Made defer work with select_related 2012-06-26 18:08:42 +03:00
templates Updated TEMPLATE_CONTEXT_PROCESSORS defaults in the docs. 2012-06-23 16:02:15 +02:00
authbackends.txt Fixed #14000 - remove versionadded/changed tags for Django 1.0 and 1.1 2010-12-26 00:37:14 +00:00
clickjacking.txt Fixed #14201 - Add a "security overview" page to the docs 2011-06-10 15:14:36 +00:00
databases.txt Removed references to changes made in 1.2. 2012-06-07 15:02:35 +02:00
django-admin.txt fix bad locale names 2012-06-07 17:24:48 +02:00
exceptions.txt Fixed many more ReST indentation errors, somehow accidentally missed from [16955] 2011-10-14 00:12:01 +00:00
index.txt Fixed #18451 -- Vastly improved class based view documentation. 2012-06-11 10:40:23 +02:00
middleware.txt Removed references to changes made in 1.2. 2012-06-07 15:02:35 +02:00
request-response.txt Fixed #18411 -- Clarified HttpRequest doc slightly. 2012-06-07 11:04:15 +02:00
settings.txt Removed references to changes made in 1.2. 2012-06-07 15:02:35 +02:00
signals.txt Removed references to changes made in 1.2. 2012-06-07 15:02:35 +02:00
template-response.txt Replaced print statement by print function (forward compatibility syntax). 2012-04-30 20:45:03 +02:00
unicode.txt Fixed #18363 -- Added Python 3 compatibility layer. 2012-06-07 18:36:53 +02:00
utils.txt Fixed the syntax used for the Python repl examples in docs and docstrings. 2012-05-05 09:54:30 -05:00
validators.txt Removed references to changes made in 1.2. 2012-06-07 15:02:35 +02:00