#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 <[email protected]>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/37045#comment:9>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019e462cb2fd-12156541-b6be-4250-af50-2e124c8b3184-000000%40eu-central-1.amazonses.com.