我在异步代码中使用Django ORM。一切工作正常,所有测试都通过了。但是,数据库连接在测试后不会正确关闭。def test2(self): self.assertEqual(1, c)django.db.utils.OperationalErroraccessed by other userssqlite3.OperationalError: database table i
在Pycharm项目中尝试使用Django类时,我得到了我认为是类路径问题的问题。如何让我的项目识别django.contrib.auth.models包?qt-support=auto --client 127.0.0.1 --port 49963 --file /Users/tcl/_myproject/workspace/myprojectapi/django-nonrelimport User
ImportError: No module named django<