相关疑难解决方法(0)

DatabaseError:当前事务被中止,命令被忽略直到事务块结束

我收到的消息有很多错误:

"DatabaseError: current transaction is aborted, commands ignored until end of transaction block"
Run Code Online (Sandbox Code Playgroud)

之后从python-psycopg更改为python-psycopg2作为Django项目的数据库引擎.

代码保持不变,只是不知道这些错误来自哪里.

python django postgresql psycopg2

238
推荐指数
13
解决办法
18万
查看次数

标签 统计

django ×1

postgresql ×1

psycopg2 ×1

python ×1