After a validationError occurs, why is the transaction considered dirty, blocking all db reads/writes? In this example:
https://bitbucket.org/marky1991/django-test/raw/59c9ff89e4b12b4a831c36171139cb022735201b/test1.py , I don't really expect a TransactionManagementError at all, as the failure in question is a django model ValidationError, so no rollback should be needed, since the save never actually hits the db. At the minimum, however, I would expect a transaction.rollback() to resolve the issue, but it does not.
The traceback:
https://dpaste.de/ooTyIs there a django bug here or are my expectations not correct?
Thanks