<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/modeltests/defer/tests.py, branch stable/6.0.x</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=stable%2F6.0.x</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=stable%2F6.0.x'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2013-02-26T13:36:57Z</updated>
<entry>
<title>Merged regressiontests and modeltests into the test root.</title>
<updated>2013-02-26T13:36:57Z</updated>
<author>
<name>Florian Apolloner</name>
<email>florian@apolloner.eu</email>
</author>
<published>2013-02-26T08:53:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=89f40e36246100df6a11316c31a76712ebc6c501'/>
<id>urn:sha1:89f40e36246100df6a11316c31a76712ebc6c501</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #17485 -- Made defer work with select_related</title>
<updated>2012-06-26T15:08:42Z</updated>
<author>
<name>Anssi Kääriäinen</name>
<email>akaariai@gmail.com</email>
</author>
<published>2012-06-26T15:08:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=b6c356b7bb97f3d6d4831b31e67868313bbbc090'/>
<id>urn:sha1:b6c356b7bb97f3d6d4831b31e67868313bbbc090</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Fixed #18343 -- Cleaned up deferred model implementation</title>
<updated>2012-05-27T15:11:13Z</updated>
<author>
<name>Anssi Kääriäinen</name>
<email>akaariai@gmail.com</email>
</author>
<published>2012-05-26T23:08:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=a8a81aae20a81e012fddc24f3ede556501af64a2'/>
<id>urn:sha1:a8a81aae20a81e012fddc24f3ede556501af64a2</id>
<content type='text'>
Generic cleanup and dead code removal in deferred model field loading
and model.__reduce__().

Also fixed an issue where if an inherited model with a parent field
chain parent_ptr_id -&gt; id would be deferred loaded, then accessing
the id field caused caused a database query, even if the id field's
value is already loaded in the parent_ptr_id field.
</content>
</entry>
<entry>
<title>Refs #17876: enhanced new test to actually test underlying function, not just ensure trying to use it does not raise an exception. Thanks Przemek Lewandowski.</title>
<updated>2012-03-13T01:01:22Z</updated>
<author>
<name>Karen Tracey</name>
<email>kmtracey@gmail.com</email>
</author>
<published>2012-03-13T01:01:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d174216587197dcc6c4c9abcacb8e428a1f078bf'/>
<id>urn:sha1:d174216587197dcc6c4c9abcacb8e428a1f078bf</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Fix #17876: Corrected an exception (regression) raised where select_realted and only is used on a proxy model. Thanks milosu and charettes.</title>
<updated>2012-03-12T22:33:18Z</updated>
<author>
<name>Karen Tracey</name>
<email>kmtracey@gmail.com</email>
</author>
<published>2012-03-12T22:33:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9d98b9eb4bee1c9d69694f37dc618c36ecfecb8d'/>
<id>urn:sha1:9d98b9eb4bee1c9d69694f37dc618c36ecfecb8d</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Convert all modeltests to use absolute imports, rather than relative ones.</title>
<updated>2011-10-13T18:04:12Z</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@gmail.com</email>
</author>
<published>2011-10-13T18:04:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d5a45d79fe03cad93ab5761860e9bb6fc1db4c86'/>
<id>urn:sha1:d5a45d79fe03cad93ab5761860e9bb6fc1db4c86</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Allow "pk" as a field alias in QuerySet.only() calls.</title>
<updated>2011-08-23T06:29:01Z</updated>
<author>
<name>Malcolm Tredinnick</name>
<email>malcolm.tredinnick@gmail.com</email>
</author>
<published>2011-08-23T06:29:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=7182cd2284a15cd5094ab6567ae14c6ad3cd901a'/>
<id>urn:sha1:7182cd2284a15cd5094ab6567ae14c6ad3cd901a</id>
<content type='text'>
Thanks to GDorn for the patch. Fixed #15494.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
<entry>
<title>Migrated defer doctests. Thanks to Alex Gaynor.</title>
<updated>2010-09-12T20:03:20Z</updated>
<author>
<name>Russell Keith-Magee</name>
<email>russell@keith-magee.com</email>
</author>
<published>2010-09-12T20:03:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=eb8b5dc2d4160b76c5a70ca732e56293d8f43729'/>
<id>urn:sha1:eb8b5dc2d4160b76c5a70ca732e56293d8f43729</id>
<content type='text'>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13777 bcc190cf-cafb-0310-a4f2-bffc1f526a37
</content>
</entry>
</feed>
