1👍
✅
current transaction is aborted, commands ignored until end of transaction block
tells you that a previous statement caused an error that resulted in an automatic transaction rollback.
You need to check your error logs for the previous statement that failed. Take a look at PostgreSQL’s logs if you can’t find it in Django’s logs.
Source:stackexchange.com