I haven't removed this function because `django.db.transaction` it quite obviously intended to be a public wrapper for functions defined in database backends. It's used in the wild: https://github.com/Xof/xact/blob/master/xact.py#L39

Although the code I just linked to should be upgraded, it will still work perfectly after this commit. As long as `managed(...)` follows `enter_transaction_management(...)` with the same argument — which is the only way Django uses them, and the only way I've seen in external code — things will just work.

We don't make any guarantees on the behavior of private APIs, but if we can avoid breakage, we should.