#30330: delete() on instances of models without any dependencies doesn't clear PKs. -------------------------------------+------------------------------------- Reporter: Artur | Owner: nobody Type: Bug | Status: closed Component: Database layer | Version: 2.2 (models, ORM) | Severity: Release blocker | Resolution: fixed Keywords: delete, pk | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>): In [changeset:"b88ffef7eac277dd48f7947b9352e8c8e8d42159" b88ffef7]: {{{ #!CommitTicketReference repository="" revision="b88ffef7eac277dd48f7947b9352e8c8e8d42159" [2.2.x] Fixed #30330 -- Fixed setting of primary key to None during fast- delete. Regression in bc7dd8490b882b2cefdc7faf431dc64c532b79c9. Backport of afc708cf6d047b35db57bd7c55baeffef459d279 from master }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30330#comment:8> 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/063.b95a7766399c135627b5b5d7ee8bfc0e%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.