1
0
mirror of https://github.com/django/django.git synced 2025-03-13 19:00:45 +00:00
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 e973ee6a9879969b8ae05bb7ff681172cc5386a5 from master

Conflicts:
	django/db/models/options.py
	tests/basic/tests.py
2013-08-30 09:47:34 +03:00
..
2013-03-22 13:50:07 -04:00
2011-09-11 02:28:08 +00:00
2013-03-22 13:50:07 -04:00
2012-08-31 20:35:50 +02:00
2012-08-31 20:35:50 +02:00
2013-08-13 11:17:07 -05:00
2013-03-22 13:50:07 -04:00
2013-03-22 13:50:07 -04:00
2013-03-28 15:03:19 -05:00
2013-08-13 11:17:07 -05:00
2013-08-13 11:17:07 -05:00