问题1:启动服务器后浏览器无法访问http://localhost:8000,访问被拒绝

django 错误分类及解决办法汇总

解决办法:原因是没有开启IIS服务所致,解决方法参考http://jingyan.baidu.com/article/219f4bf723bcb2de442d38ed.html

 

问题2:TabError: inconsistent use of tabs and spaces in indentation

tab和空格混用所致,例如:

django 错误分类及解决办法汇总

django 错误分类及解决办法汇总

解决办法:搜索\t,替换为'    ':

django 错误分类及解决办法汇总django 错误分类及解决办法汇总

相关文章:

  • 2021-05-30
  • 2022-12-23
  • 2021-06-23
  • 2021-06-06
  • 2021-05-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
  • 2021-09-04
  • 2021-12-10
相关资源
相似解决方案