django/docs/ref/models
Anssi Kääriäinen 76e38a2177 [1.6.x] Fixed #20988 -- Added model meta option select_on_save
The option can be used to force pre 1.6 style SELECT on save behaviour.
This is needed in case the database returns zero updated rows even if
there is a matching row in the DB. One such case is PostgreSQL update
trigger that returns NULL.

Reviewed by Tim Graham.

Refs #16649

Backport of e973ee6a98 from master

Conflicts:
	django/db/models/options.py
	tests/basic/tests.py
2013-08-30 09:47:34 +03:00
..
fields.txt [1.6.x] Documentation - Noted that OneToOneField doesn't respect unique. 2013-08-20 21:20:55 -07:00
index.txt Fixed #14141: docs now use the :doc: construct for links between documents. 2010-08-19 19:27:44 +00:00
instances.txt [1.6.x] Fixed #20988 -- Added model meta option select_on_save 2013-08-30 09:47:34 +03:00
options.txt [1.6.x] Fixed #20988 -- Added model meta option select_on_save 2013-08-30 09:47:34 +03:00
querysets.txt [1.6.x] Fixed #20842 and #20845 - Added a note on order_by() and improved prefetch_related() docs. 2013-08-04 12:35:31 -04:00
relations.txt [1.6.x] Fixed #17528 -- Documented that add() and remove() with a many-to-many relationship do not call Model.save() 2013-07-12 06:22:19 -04:00