Home
About
Blog
Courses
Contact
More about Django
· Module 3 - Class-based views
3.3 CreateView, UpdateView and DeleteView
24 min
Back to the curriculum
Video coming soon
The recording for this lesson has not been published yet.
What we cover
form_class, fields and ModelFormMixin
form_valid for setting the author automatically
get_success_url and reverse_lazy
Confirmation templates for deletion
Written notes for this lesson are being prepared. The outline above already shows what the recording will cover.
← 3.2 ListView and DetailView
3.4 Mixins and your own base views →
After this lesson you will
Provide full CRUD for posts with generic views
Redirect users to the right page after each action
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?