TransactionManagementError exception on a clean transaction
|Reported by:||Jerzy Ludwichowski||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||master|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have a simple test view decorated with a transaction.commit_manually. The view does only a few database (MySQL) reads. Before returning I do a transaction.commit() and surely the call to transaction.is_dirty() returns False.
A further test with all database reads removed yields the same result.
My Django installation is at SVN 15540.