<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/modeltests/update_only_fields/tests.py, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=main'/>
<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>Cleaned up some lingering signals in the test suite that were causing spurious failures with Pypy and Postgres.</title>
<updated>2013-02-08T20:12:03Z</updated>
<author>
<name>Julien Phalip</name>
<email>jphalip@gmail.com</email>
</author>
<published>2013-02-08T20:12:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=db09a2de6e1bc7121d301dad9610efcda9c7a925'/>
<id>urn:sha1:db09a2de6e1bc7121d301dad9610efcda9c7a925</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[py3k] Silence many warnings while running the tests.</title>
<updated>2012-09-07T17:17:34Z</updated>
<author>
<name>Alex Gaynor</name>
<email>alex.gaynor@rd.io</email>
</author>
<published>2012-09-07T17:17:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=292322f977b1844e15ba25d59d1e985461571c15'/>
<id>urn:sha1:292322f977b1844e15ba25d59d1e985461571c15</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #18306 -- Made deferred models issue update_fields on save</title>
<updated>2012-08-12T19:39:27Z</updated>
<author>
<name>Andrei Antoukh</name>
<email>niwi@niwi.be</email>
</author>
<published>2012-08-12T19:17:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=99321e30cebbffeafc6ae19f4f92a0a665cbf19b'/>
<id>urn:sha1:99321e30cebbffeafc6ae19f4f92a0a665cbf19b</id>
<content type='text'>
Deferred models now automatically update only the fields which are
loaded from the db (with .only() or .defer()). In addition, any field
set manually after the load is updated on save.
</content>
</entry>
<entry>
<title>Fixed #18362 - Made model.save() update_fields accept attnames</title>
<updated>2012-07-05T13:43:28Z</updated>
<author>
<name>Andrei Antoukh</name>
<email>niwi@niwi.be</email>
</author>
<published>2012-07-05T13:39:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0f49b2bce2d5b3c5891c8a329bab7dffe16fc79b'/>
<id>urn:sha1:0f49b2bce2d5b3c5891c8a329bab7dffe16fc79b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #18304 -- Optimized save() when update_can_self_select=False</title>
<updated>2012-05-22T17:59:33Z</updated>
<author>
<name>Anssi Kääriäinen</name>
<email>akaariai@gmail.com</email>
</author>
<published>2012-05-12T10:01:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d5c7f9efc3702888b556cbf932116421b464e8b8'/>
<id>urn:sha1:d5c7f9efc3702888b556cbf932116421b464e8b8</id>
<content type='text'>
Databases with update_can_self_select = False (MySQL for example)
generated non-necessary queries when saving a multitable inherited
model, and when the save resulted in update.
</content>
</entry>
<entry>
<title>Avoided test failure on MySQL by skipping a failing test</title>
<updated>2012-05-12T09:03:46Z</updated>
<author>
<name>Anssi Kääriäinen</name>
<email>akaariai@gmail.com</email>
</author>
<published>2012-05-12T09:00:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=de79d23ce04193e0bc140991533359002f62ddf9'/>
<id>urn:sha1:de79d23ce04193e0bc140991533359002f62ddf9</id>
<content type='text'>
MySQL generates an extra query in inheritance cases when doing an update.
This results in a test failure when checking for number of queries in
update_only_fields tests. Added a skip temporarily to avoid this test
failure. Refs #18304.
</content>
</entry>
<entry>
<title>Fixed #4102 -- Allow update of specific fields in model.save()</title>
<updated>2012-05-12T07:29:41Z</updated>
<author>
<name>Andrei Antoukh</name>
<email>niwi@niwi.be</email>
</author>
<published>2012-05-12T07:24:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=365853da016f242937a657b488514e2f69fa6d82'/>
<id>urn:sha1:365853da016f242937a657b488514e2f69fa6d82</id>
<content type='text'>
Added the ability to update only part of the model's fields in
model.save() by introducing a new kwarg "update_fields". Thanks
to all the numerous reviewers and commenters in the ticket
</content>
</entry>
</feed>
