manage.py testserver --addrport 127.0.0.1 报错

查看其它项目

manage.py runserver --addrport 127.0.0.1 正常

查找配置,发现edit configrations页面中选择了test Server 导致运行时查找test的database ,不成功

 

在输出窗口报错为

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.

 

相关文章:

  • 2021-08-31
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
  • 2021-08-07
  • 2021-05-28
猜你喜欢
  • 2021-06-18
  • 2022-12-23
  • 2021-09-15
  • 2022-01-25
  • 2021-06-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案