使用uwsgi部署时有且仅有创建会议室接口报错
charliezhang6 opened this issue · 0 comments
charliezhang6 commented
使用django自带的runserver一切正常,uwsgi只有这个接口报错
TransactionManagementError at /api/meeting/room/create
An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block.
Request Method: | POST |
---|---|
https://zjupolymer.top/api/meeting/room/create | |
3.2.18 | |
TransactionManagementError | |
An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block. | |
/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py, line 448, in validate_no_broken_transaction | |
/usr/local/bin/uwsgi | |
3.6.8 | |
['.', '', '/usr/lib64/python36.zip', '/usr/lib64/python3.6', '/usr/lib64/python3.6/lib-dynload', '/usr/local/lib64/python3.6/site-packages', '/usr/local/lib/python3.6/site-packages', '/usr/lib64/python3.6/site-packages', '/usr/lib/python3.6/site-packages'] |