Useful links:
https://docs.djangoproject.com/en/3.1...
https://docs.djangoproject.com/en/3.2...
About this video:
In this video we will sprint through very basic Class Based Views in Django to see how much functionality we can get out of very little code. We’ll be looking at ListView, DetailView, CreateView, UpdateView and DeleteView - covering all CRUD operations.
Video Content:
00:00 Intro
00:25 Change FloatFields to DecimalFields for better money handling
02:28 Why Class Based Views?
02:46 Basic Class Based Views in Django
03:40 Write simple ListView
06:08 Write simple CreateView
08:44 Register Class Based Views in urls
10:53 Start creating templates for Class Based Views
12:03 Small fix (use reverse_lazy)
12:29 HTML for CreateView
14:57 HTML for ListView
18:29 Use get_fieldname_display to display string when using IntegerChoices
19:09 Test if views work
19:40 Write simple DetailView
20:23 Resister DetailView to urls
20:42 Add link to list view to open detail view
21:46 HTML for DetailView
24:46 Write simple UpdateView
25:34 Register UpdateView in urls
26:42 Test update view
27:28 Write simple DeleteView
28:25 Register DeleteView in urls
28:52 HTML for DeleteView
30:19 Recap today’s work
33:14 Conclusion on Class Based Views
Tutorial repo:
https://github.com/SugarloafAndACupOf...
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 - Django -...
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
On this page of the site you can watch the video online 43 - Create Basic Class Based Views CRUD - Django | DRF | React w. Data Analysis with a duration of hours minute second in good quality, which was uploaded by the user Sugarloaf And a Cup of Joe 22 April 2021, share the link with friends and acquaintances, this video has already been watched 519 times on youtube and it was liked by 8 viewers. Enjoy your viewing!