#20988: Model.save() refactoring incompatibilities -------------------------------------+------------------------------------- Reporter: akaariai | Owner: nobody Type: | Status: closed Cleanup/optimization | Version: master Component: Database layer | Resolution: fixed (models, ORM) | Triage Stage: Accepted Severity: Release blocker | Needs documentation: 0 Keywords: | Patch needs improvement: 0 Has patch: 0 | UI/UX: 0 Needs tests: 0 | Easy pickings: 0 | -------------------------------------+------------------------------------- Changes (by Anssi Kääriäinen <akaariai@…>):
* status: new => closed * resolution: => fixed Comment: In [changeset:"e973ee6a9879969b8ae05bb7ff681172cc5386a5"]: {{{ #!CommitTicketReference repository="" revision="e973ee6a9879969b8ae05bb7ff681172cc5386a5" 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 }}} -- Ticket URL: <https://code.djangoproject.com/ticket/20988#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- 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/066.bab620a762b3058f44c3e0af78cf81fc%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.