Branch: refs/heads/stable/1.6.x Home: https://github.com/django/django Commit: 76e38a21777243fec58c640d617bb71a251c5ba1 https://github.com/django/django/commit/76e38a21777243fec58c640d617bb71a251c5ba1 Author: Anssi Kääriäinen <akaar...@gmail.com> Date: 2013-08-29 (Thu, 29 Aug 2013)
Changed paths: M django/db/models/base.py M django/db/models/options.py M docs/ref/models/instances.txt M docs/ref/models/options.txt M docs/releases/1.6.txt M tests/basic/models.py M tests/basic/tests.py Log Message: ----------- [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 -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/52204067e746a_59dd957d4c9404%40hookshot-fe4-pe1-prd.aws.github.net.mail. For more options, visit https://groups.google.com/groups/opt_out.