项目场景:

刚开始绑定URL的时候报错Page not found 404;

Using the URLconf defined in xx.urls, Django tried these URL patterns, in this order


问题描述:

Using the URLconf defined in xx.urls, Django tried these URL patterns, in this order

Django绑定URL时报错Page not found 404

原因分析:

绑定多个URL时候没有主页了,直接访问主页他就这么报错


解决方案:

给定一个html做主页就好了

相关文章:

  • 2021-11-29
  • 2021-09-01
  • 2021-11-24
  • 2021-09-16
  • 2021-11-16
  • 2021-09-22
  • 2022-01-21
  • 2022-12-23
猜你喜欢
  • 2021-10-18
  • 2021-10-28
  • 2021-07-08
  • 2021-12-02
  • 2022-12-23
  • 2021-05-20
  • 2022-12-23
相关资源
相似解决方案