TransactionManagementError doesn't allow for easy debugging of views
|Reported by:||Oroku Saki||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||master|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
@transaction.commit_manually on a view, if an exception is not caught in the view, and thus
transaction.rollback() is not used, TransactionManagementError() is raised. When this happens, the stack trace is very bare and it is nearly impossible to figure out what happened without removing manual transaction management from that view.