Grokking Django
0% completed
Introduction to Django Templates
A web page that shows a different article title for each visitor still has the same headings, menus and layout every time. Django keeps that fixed part in a text file, usually HTML, and marks the places where the changing values go. Each time a page is requested, Django fills those places with real data and sends the result to the browser. The file is called a template, and the filling step is called rendering.
This chapter covers templates and static files. This lesson shows where a template lives, how a view renders it, and how data travels from the view into the page
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%