Template
A template is a text that separates the presentation and content of a document.
Example 2.8
We will create a template in C:\Django2. 1. 3\myFolder\myProject\templates,
the template file name is “greeting. html”.
myProject/
|-- myProject
|        |-- __init__. py
|        |-- settings. py
|        |-- urls. py
|        |-- view. py
|        |-- wsgi. py
|-- manage. py
|-- templates
|-- greeting.html
The code of the “greeting.html ” is as follows:
<h1>{{ greeting }}</h1>