#37045: Deprecate and rename django.db.transaction.savepoint
-------------------------------------+-------------------------------------
Reporter: Lily | Type: New
| feature
Status: new | Component: Database
| layer (models, ORM)
Version: | Severity: Normal
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
I proposed this in
https://github.com/django/new-features/issues/138 and
it is now accepted.
Rename `savepoint` to `savepoint_create` and add a new `savepoint`
function as a deprecated alias or wrapper for `savepoint_create`. Once the
deprecation period has ended remove `savepoint`. This will free the name
for use for a higher-level `savepoint` context manager.
--
Ticket URL: <
https://code.djangoproject.com/ticket/37045>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.