#27419: Model that worked before 1.10 causes "Cannot force an update in save() with no primary key." in 1.10. -------------------------------------+------------------------------------- Reporter: Louis-Dominique | Owner: nobody Dubeau | Type: Bug | Status: new Component: Database layer | Version: 1.10 (models, ORM) | Severity: Normal | Resolution: Keywords: save model property | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Lucas Moeskops): The bug seems to be introduced here: {{{ commit 7f51876f99851fdc3fef63aecdfbcffa199c26b9 Author: Anssi Kääriäinen <anssi.kaariai...@thl.fi> Date: Tue Feb 2 11:33:09 2016 +0200 Fixed #26207 -- Replaced dynamic classes with non-data descriptors for deferred instance loading. :040000 040000 bc475a97153a13ed83629d19d53f4aff0cb064f6 0343367b1a537396c570ab15d6c8495b70e4700c M django :040000 040000 439540406e70c8b9ef43db729dbec4cb473e7ee0 a4775e8e1bdb64eb549d000a9e6efcd58868b86e M docs :040000 040000 cc14ca4b983abe3a6aa6f0f82b329375e7259df7 a9e3feb171711fe29098f1f3d2370f878f936c04 M tests }}} -- Ticket URL: <https://code.djangoproject.com/ticket/27419#comment:2> 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/061.e6a0cf9abcc1c90aa37d0efad2244619%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.