django2.0.5在centos上模板路径的配置

hello--

        --hello

        --polls(app)

        --templates

            --polls

                    --index.html

        --static

        --manage.py


debug模式要开启为true, 然后·ALLOWED_HOST = ['ip']


相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-21
  • 2022-12-23
  • 2021-11-25
  • 2021-08-14
  • 2022-12-23
  • 2021-04-09
猜你喜欢
  • 2021-05-02
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案