Django Complete Course - Online Store in Python Django 4 [Part 3] View Classes (CBV)

Опубликовано: 01 Сентябрь 2026
на канале: Python Hub Studio
13,925
425

A complete course of lessons on Django Python, one of the most popular and widely used frameworks for web application development. The Django lessons are based on an example of creating an online store from scratch. This is Part 3 of the course, in which we'll convert our online store project to class-based views (cbv).

(The project works on both Django 4 and 5)

00:00 Review of some bug fixes
02:47 Why view classes are better than functions in Django
06:39 TemplateView
14:02 DetailView
25:22 ListView
42:00 LoginView
58:30 CreateView
01:05:59 UpdateView
01:08:08 LoginRequiredMixin
01:16:10 LogOutView
01:18:18 View
01:25:12 Custom Mixins
01:35:21 FormView

🎓 My courses on Udemy with a discount + 🧾 certificate of completion:
My Complete Docker Course on Udemy + deploy to an AWS server (including this project) with a discount:
💛 Docker https://tukas.dev/docker-full-course/
And my other courses:
❤️ Python https://tukas.dev/python-full-course/
💚 WSL (free) https://tukas.dev/wsl-setup-course/

🧩 Answers to questions about courses ⬆️:
🔹 You can take the course at any time and at your own pace (there is no time limit).
🔹 Lifetime access to the course and all future updates and additions.
🔹 Select "One-time purchase" instead of "Subscription" to get the best deal on the selected course permanently at the lowest price using the promo code embedded in the links above.
🔹 You can get a certificate of completion for the full course on Udemy (except for the free WSL course).
🔹 YES, my support team is there👍 if you have any questions during the course!

Project template (layout):
https://github.com/PythonHubStudio/te...

Entire project code (with commits as it's created):
https://github.com/PythonHubStudio/Dj...

Django website:
https://docs.djangoproject.com/en/4.2/

💡All my courses on YouTube:
🔷🔥New Python course on YouTube [12 hours]:
   • Курс Python с Абсолютного нуля! [12 часов ...  
🔷 HTML & CSS (7 hours):
   • Учим HTML и CSS за 7 часов! Уроки по созда...  
🔷 Python (7 hours):
   • Экспресс курс по python за 7 часов!  
🔷 Python roadmap, what Learn:
   • Что реально пишут на python, что учить и к...  
🔷 Docker & Docker Compose
🔹 YouTube Course (4 hours):
   • Docker и Docker Compose - Полный Курс Dock...  
🔷 Django (18 hours):
   • Полный курс уроков по Django python  
🔷 Telegram Bot in Python (aiogram):
   • Telegram бот на python. Курс по разработке...  
🔷 Website Parsing in Python:
   • Курс Парсинга на Python  
🔷 Python OOP Express (music only in the first video):
   • Полный курс уроков обучения ООП Python  
🔷 And other videos on the channel!

Have a great day everyone from the Python Hub Studio channel!