Home
About
Blog
Courses
Contact
More about Django
· Module 3 - Class-based views
3.1 Why class-based views
16 min
Back to the curriculum
Video coming soon
The recording for this lesson has not been published yet.
What we cover
From URL to view to response
as_view(), dispatch() and HTTP method handlers
The generic view hierarchy in one picture
Reading the Django source and ccbv.co.uk
Written notes for this lesson are being prepared. The outline above already shows what the recording will cover.
← 2.6 Slugs, timestamps and abstract base models
3.2 ListView and DetailView →
After this lesson you will
Describe the request and response cycle in Django
Explain what a class-based view adds to a function
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?