Error resolving template “index”, template might not exist or might not be accessible by any of the configured Template Resolvers

前端 未结 10 992
灰色年华
灰色年华 2020-12-01 07:28

This question has been asked before but I did not solve my problem and I getting some weird functionality.

If I put my index.html file in the static directory like s

10条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-01 08:17

    index.html should be inside templates, as I know. So, your second attempt looks correct.

    But, as the error message says, index.html looks like having some errors. E.g. the in the third line, the meta tag should be actually head tag, I think.

提交回复
热议问题