Home
About
Blog
Courses
Contact
More about Django
· Module 3 - Class-based views
3.2 ListView and DetailView
22 min
Back to the curriculum
Video coming soon
The recording for this lesson has not been published yet.
What we cover
queryset, get_queryset and context_object_name
Template names generic views expect
paginate_by and paginator context
get_context_data for extra template variables
Written notes for this lesson are being prepared. The outline above already shows what the recording will cover.
← 3.1 Why class-based views
3.3 CreateView, UpdateView and DeleteView →
After this lesson you will
Replace post_list and post_detail with generic views
Add pagination without writing pagination code
Module 3
3.1
Why class-based views
3.2
ListView and DetailView
3.3
CreateView, UpdateView and DeleteView
3.4
Mixins and your own base views
3.5
Function view or class-based view?