运行django项目时报错

现象

Creating test database for alias 'default'...
CommandError: Error: No database fixture specified. Please provide the path of at least one fixture in the command line.

原因

使用了sqlite3
CommandError: Error: No database fixture specified. Please provide the path of at least one fixture_编程bug总结
然后在Edit Configurations中勾选了Test server
CommandError: Error: No database fixture specified. Please provide the path of at least one fixture_编程bug总结_02

解决方案

去掉 Test server前面的勾即可

 

公众号

CommandError: Error: No database fixture specified. Please provide the path of at least one fixture_编程bug总结_03