Create Static Files and Templates
Create Static & Template Directory
In your project directory, create a folder named static and templates as mentioned in your settings.py file.
Static Directory
- Inside
static, create a subfolder for images and css:

Templates Directory
- Similarly inside
templates, create a folder namedhome:

- Add HTML code to
home.htmlthat you want to render as your home page:


Here {% load static %} is used to load the static tag that will load static files from our static directory, it will give path of the static files from the settings.py's configurations to all the places where you use static tag.
13


