In this video, you will learn the CBV in Django ie. Class Based Views in Django.
You will learn about:
How to create a view in Django using CBV
How to handle post-method
How to load template and pass context dict in CBV (by using generic TemplateView())
CBV's are basically a cleaner, simpler and generic way of creating advanced views.
Learn Django from this Django 5.x crash course.
In this Django crash course or Django Beginners tutorial, we will learn Django from scratch and we will create a simple blog application using Django 5.
This is a beginner-friendly Django course.
Python Crash Course: • The Ultimate Python Crash Course (Part 1) ...
Migrations Simplified: • Mastering Django Migrations: Create, Apply...
Django Management Command Simplified: • Django Custom Management Command Tutorial ...
Master Django Middleware: • Mastering Django Middleware: The Ultimate ...
Realtime communication (using Django Channels): • Live Data in Django using Django Channels
Django Custom User model: • Take Your Django Skills to the Next Level:...
Django Celery and Redis: • Mastering Django Celery and Redis || Code ...
Django ORM Basics: • Django ORM Basics Series: Part 1 (Project ...
Timestamp:
0:35 Why CBV
1:05 First Get CBV
6:43 Async CBV
8:51 Post method in CBV
14:26 Render template in CBV
15:55 Pass context dict in CBV
18:38 Use TemplateView
20:03 LoginRequiredMixin with TemplateView
21:36 Important message
🔔 Subscribe: https://bit.ly/3ChaNj8
Join this channel to get access to perks: / @codewithsj
Connect with me:
Linkedin: / jha-shubham
FB group: / djangodrf
My laptop: https://amzn.to/3TusAcR
Phone Camera: https://amzn.to/44vDfbM
Tripod Stand: https://amzn.to/3pxDJzr
Monitor: https://amzn.to/3qIeF4X
Keyboard: https://amzn.to/3Ad7R3B
Main Mic: https://amzn.to/3Q8gcwa
Mic: https://amzn.to/3yfIkVH
SSD: https://amzn.to/3hb4By7
External HDD: https://amzn.to/3wcMtYU
Thank you, everyone, for watching this video. If you have any questions, do comment below. Do like, subscribe, and share more such videos on Django and Django Rest Framework.
Presented by Bestlatech (bestla tech)
Tune in Again