Useful links:
https://docs.djangoproject.com/en/3.1...
About this video:
Another group of Class Based Views is called generic-editing, which includes Create, Update and Delete views. Let's how can we customise them.
Video Content:
00:00 Intro
00:34 CreateView - start
00:45 (get_)form_class - CreateView
03:03 template_name and template_name_suffix - CreateView
04:05 extra_context and get_context_data - CreateView
06:27 get and post - CreateView
08:16 form_valid and form_invalid - CreateView
10:52 (get_)success_url - CreateView
11:58 UpdateView - start
12:24 (get_)form_class - UpdateView
13:05 template_name and template_name_suffix - UpdateView
14:20 (get_)queryset and get_object - UpdateView
17:10 (get_)context_object_name - UpdateView
19:28 extra_context and get_context_data - UpdateView
19:50 get and post - UpdateView
20:21 form_valid and form_invalid - UpdateView
20:42 (get_)success_url - UpdateView
21:26 DeleteView - start
21:38 get, post and delete - DeleteView
23:15 template_name and template_name_suffix - DeleteView
23:42 (get_)queryset and get_object - DeleteView
25:34 (get_)context_object_name - DeleteView
26:00 extra_context and get_context_data - DeleteView
27:02 (get_)success_url - DeleteView
27:54 Summary
About this tutorial:
The primary goal of this tutorial is to take you through the steps of creating a solid Django portfolio project that will stand out when you talk to your future employer.
Check out tutorial's intro to see if it's something for you:
• 01 - Introduction to the course - Dja...
Tutorial repo:
https://github.com/SugarloafAndACupOf...
Please hit SUBSCRIBE if you wanna get the notifications about the new content!
Also, like the hell out of this video if you find it useful/interesting!
Follow us on Facebook: / sugarloaf-and-a-cup-of-joe-101638761829670
and Instagram: / sugarloaf_and_a_cup_of_joe