Locked lesson.
About this lesson
In Django, templates hold the HTML for our webpages. In this lesson, we'll discuss how they work and how to create them.
Exercise files
Download this lesson’s related exercise files.
Template Files.docx57.3 KB Template Files - Solution.docx
55.6 KB
Quick reference
Template Files
Templates hold the HTML of your web pages. Each web page has its own template file. Your template's directory goes inside of your resume directory.
When to use
Every time you create a web page for your app, you'll need to create a template file for it.
Instructions
Add a directory called templates inside of your resume directory.
Every time you create a web page, create a corresponding template file inside that templates directory.
Hints & tips
- The templates directory goes inside of your resume directory.
- Every web page of your app needs a template file.
Lesson notes are only available for subscribers.