1
0
mirror of https://github.com/django/django.git synced 2024-12-25 02:26:12 +00:00
django/docs/releases
Anssi Kääriäinen 6b4834952d Fixed #16649 -- Refactored save_base logic
Model.save() will use UPDATE - if not updated - INSERT instead of
SELECT - if found UPDATE else INSERT. This should save a query when
updating, but will cost a little when inserting model with PK set.

Also fixed #17341 -- made sure .save() commits transactions only after
the whole model has been saved. This wasn't the case in model
inheritance situations.

The save_base implementation was refactored into multiple methods.
A typical chain for inherited save is:
save_base()
    _save_parents(self)
        for each parent:
            _save_parents(parent)
            _save_table(parent)
    _save_table(self)
2013-03-14 11:01:47 +02:00
..
0.95.txt Replaced http by https in djangoproject.com links 2012-03-13 17:53:31 +00:00
0.96.txt Fixed links to DATABASE ENGINE setting. refs #19516 2012-12-24 15:38:05 -05:00
1.0-alpha-1.txt Replaced http by https in djangoproject.com links 2012-03-13 17:53:31 +00:00
1.0-alpha-2.txt Replaced http by https in djangoproject.com links 2012-03-13 17:53:31 +00:00
1.0-beta-2.txt Removed obsolete contrib.comments upgrade guide 2012-11-24 18:10:51 +01:00
1.0-beta.txt Replaced http by https in djangoproject.com links 2012-03-13 17:53:31 +00:00
1.0-porting-guide.txt Fixed broken links, round 4. refs #19516 2012-12-29 15:54:33 -05:00
1.0.1.txt Updated obsolete links in the documentation 2012-06-28 10:49:07 +02:00
1.0.2.txt
1.0.txt Removed obsolete contrib.comments upgrade guide 2012-11-24 18:10:51 +01:00
1.1-alpha-1.txt Fixed more broken links. refs #19516 2012-12-25 04:44:09 -05:00
1.1-beta-1.txt Fixed broken links, round 4. refs #19516 2012-12-29 15:54:33 -05:00
1.1-rc-1.txt Replaced http by https in djangoproject.com links 2012-03-13 17:53:31 +00:00
1.1.2.txt
1.1.3.txt
1.1.4.txt
1.1.txt Fixed broken links, round 4. refs #19516 2012-12-29 15:54:33 -05:00
1.2-alpha-1.txt Fixed links to DATABASE ENGINE setting. refs #19516 2012-12-24 15:38:05 -05:00
1.2-beta-1.txt Fixed #19516 - Fixed remaining broken links. 2013-01-02 18:32:57 -05:00
1.2-rc-1.txt Replaced http by https in djangoproject.com links 2012-03-13 17:53:31 +00:00
1.2.1.txt
1.2.2.txt
1.2.3.txt
1.2.4.txt Fixed broken links, round 4. refs #19516 2012-12-29 15:54:33 -05:00
1.2.5.txt Replaced http by https in djangoproject.com links 2012-03-13 17:53:31 +00:00
1.2.6.txt
1.2.7.txt
1.2.txt Fixed #19516 - Fixed remaining broken links. 2013-01-02 18:32:57 -05:00
1.3-alpha-1.txt Added some assertions to enforce the atomicity of atomic. 2013-03-11 14:48:55 +01:00
1.3-beta-1.txt Fixed #19516 - Fixed remaining broken links. 2013-01-02 18:32:57 -05:00
1.3.1.txt
1.3.2.txt Added 1.4.1 and 1.3.2 release notes 2012-08-31 20:35:50 +02:00
1.3.txt Added some assertions to enforce the atomicity of atomic. 2013-03-11 14:48:55 +01:00
1.4-alpha-1.txt Fixed #19516 - Fixed remaining broken links. 2013-01-02 18:32:57 -05:00
1.4-beta-1.txt Fixed #19516 - Fixed remaining broken links. 2013-01-02 18:32:57 -05:00
1.4.1.txt Added 1.4.1 and 1.3.2 release notes 2012-08-31 20:35:50 +02:00
1.4.2.txt Added 1.4.2 release notes 2012-10-21 07:49:35 -07:00
1.4.txt Fixed #19516 - Fixed remaining broken links. 2013-01-02 18:32:57 -05:00
1.5-alpha-1.txt 1.5 is no longer "UNDER DEVELOPMENT". 2013-02-28 11:11:26 +01:00
1.5-beta-1.txt Fixed broken links, round 4. refs #19516 2012-12-29 15:54:33 -05:00
1.5.txt 1.5 is no longer "UNDER DEVELOPMENT". 2013-02-28 11:11:26 +01:00
1.6.txt Fixed #16649 -- Refactored save_base logic 2013-03-14 11:01:47 +02:00
index.txt Added 1.5 beta release notes. 2012-11-27 15:30:52 -06:00