1
0
mirror of https://github.com/django/django.git synced 2024-11-18 15:34:16 +00:00
django/tests
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
..
modeltests Fixed #17485 -- Made defer work with select_related 2012-06-26 18:08:42 +03:00
regressiontests Fixed #17485 -- Made defer work with select_related 2012-06-26 18:08:42 +03:00
templates
runtests.py Commented on a line that inadvertantly slipped in commit 865cd35c 2012-05-05 16:45:02 +02:00
test_sqlite.py Use faster password hasher in sqlite tests 2012-04-30 22:10:27 +03:00
urls.py Made sure the new project template functionality works when the template 2011-12-29 17:03:38 +00:00