Cannot save model due to bad transaction? Django
- by Kenneth Love
Trying to save a model in Django admin and I keep getting the error:
Transaction managed block ended with pending COMMIT/ROLLBACK
I tried restarting both the Django (1.2) and PostgreSQL (8.4) processes but nothing changed. I added "autocommit": True to my database settings but that didn't change anything either. Everything that Google has turned up has either not been answered or the answer involved not having records in the users table, which I definitely have.
The model does not have a custom save method and there are no pre/post save signals tied to it.
Any ideas or anything else I can provide to make answering this easier?