#34242: Behavior of Model.delete() with regards to primary_key fields is not documented -------------------------------------+------------------------------------- Reporter: SwampFalc | Owner: noFFENSE Type: | Status: closed Cleanup/optimization | Component: Documentation | Version: dev Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>): In [changeset:"2a32d3963c974b605050688dacfe2a6ae76f52e8" 2a32d39]: {{{ #!CommitTicketReference repository="" revision="2a32d3963c974b605050688dacfe2a6ae76f52e8" [4.1.x] Fixed #34242 -- Doc'd that primary key is set to None when deleting objects. Backport of 5cd1385356d4b275133ddb0f8c78b2f37c5901eb from main }}} -- Ticket URL: <https://code.djangoproject.com/ticket/34242#comment:13> 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/01070185ce9d32cb-5e85ab65-7d2e-4b17-8bc6-a73dd729e9d8-000000%40eu-central-1.amazonses.com.