#33939: Change docs for transaction.on_commit to suggest functools.partial
instead
of lambda
-------------------------------------+-------------------------------------
Reporter: Alex Morega | Owner: Alex
Type: | Morega
Cleanup/optimization | Status: closed
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: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Carlton Gibson <carlton.gibson@…>):
In [changeset:"8a8a00388b065b3a7c43f7b0d887f64c81a367b8" 8a8a0038]:
{{{
#!CommitTicketReference repository=""
revision="8a8a00388b065b3a7c43f7b0d887f64c81a367b8"
[4.1.x] Fixed #33939 -- Used functools.partial() in
transaction.on_commit() examples.
Backport of 7e6b537f5b92be152779fc492bb908d27fe7c52a from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33939#comment:7>
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070182ca24e20a-c40eec35-5df6-49f0-a696-f4d648807308-000000%40eu-central-1.amazonses.com.