运行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
前面的勾即可
后记
【后记】为了让大家能够轻松学编程,我创建了一个公众号【轻松学编程】,里面有让你快速学会编程的文章,当然也有一些干货提高你的编程水平,也有一些编程项目适合做一些课程设计等课题。
也可