#37045: Deprecate and rename django.db.transaction.savepoint
-------------------------------------+-------------------------------------
Reporter: Lily | Owner: Samuel
| Searles-Bryant
Type: New feature | Status: closed
Component: Database layer | Version:
(models, ORM) |
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
-------------------------------------+-------------------------------------
Changes (by Jacob Walls <jacobtylerwalls@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"20960df455fffd73d556a5ed92cdf6832c23e65f" 20960df]:
{{{#!CommitTicketReference repository=""
revision="20960df455fffd73d556a5ed92cdf6832c23e65f"
Fixed #37045 -- Renamed savepoint() to savepoint_create().
This makes the name consistent with the `savepoint_commit` and
`savepoint_rollback` functions. The previous name is maintained as a
deprecated alias.
This also frees up the `savepoint` name, which would allow the context
manager from `django-subatomic` to be included in Django.
Co-authored-by: Lily <
co...@lilyf.org>
}}}
--
Ticket URL: <
https://code.djangoproject.com/ticket/37045#comment:9>