https://docs.djangoproject.com/en/2.1/intro/tutorial03/
模板文件属于前端三剑客(html,css,js)
模板文件应该创建在APP的templates目录下(自行创建目录),具体路径为(project/app/templates/app/index.html)
编写一个模板文件(mysite/polls/templates/polls/index.html)
{% if latest_question_list %}
<h1> hello world </h1>
<ul>
{% for question in latest_question_list %}
<li><a href="/polls/{
{ question.id }}/">{
{ question.question_text }}</a></li>
{% endfor %}
</ul>
{% else %}
<p>No polls are av