Display DataLesson 16Free preview
Prep Template and View
This lesson is part of Django · All levels
Summary
At this stage you set up templates and views to display the data list. View takes all the objects and sends them to the template through context. From here, users can see the contents of the tables on the web page.
Key points
- Create HTML templates to display the list
- View takes all the data with objects.all()
- Context brings data from view to template
- Render templates with the context
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.