CommandError: Error: No database fixture specified. Please provide the path of at least one fixture
运行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
然后在Edit Configurations
中勾选了Test server
解决方案
去掉 Test server
前面的勾即可
后记
【后记】为了让大家能够轻松学编程,我创建了一个公众号【轻松学编程】,里面有让你快速学会编程的文章,当然也有一些干货提高你的编程水平,也有一些编程项目适合做一些课程设计等课题。
也可加我微信【1257309054】,拉你进群,大家一起交流学习。
如果文章对您有帮助,请我喝杯咖啡吧!
公众号
还没有评论,来说两句吧...