Deprecate and rename django.db.transaction.savepoint
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.
Change History
(6)
| Triage Stage: |
Unreviewed → Accepted
|
| Owner: |
set to Samuel Searles-Bryant
|
| Status: |
new → assigned
|
| Triage Stage: |
Accepted → Ready for checkin
|
| Patch needs improvement: |
set
|
| Triage Stage: |
Ready for checkin → Accepted
|
BaseDatabaseWrapperalso has asavepointmethod (and a private_savepoint). We could also rename those, but that's not necessary.