Загрузка...

Django - Generic & Class-Based Views! (an alternative to functions)

▶ Django & HTMX FULL COURSE:
https://www.udemy.com/course/django-htmx-hypermedia-web-apps/?couponCode=BUGBYTES-MAY

🙏 Join our channel to get access to perks:
https://www.youtube.com/channel/UCTwxaBjziKfy6y_uWu30orA/join

☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying a coffee here:
https://ko-fi.com/bugbytes

In this video, we'll look at Django generic views, notably the ListView and DetailView classes for consolidating logic related to fetching a list of items from the database (ListView) or a single item from the database (DetailView) and rendering an HTML template response.

📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
00:50 Generic Views introduction
02:29 Django ListView
06:32 Django DetailView

𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📖 Blog: https://bugbytes.io/posts/
👾 Github: https://github.com/bugbytes-io/

📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
Django Generic Views: https://docs.djangoproject.com/en/5.2/intro/tutorial04/#use-generic-views-less-code-is-better

#python #pythonanddjangofullstackwebdeveloper #django

Видео Django - Generic & Class-Based Views! (an alternative to functions) канала BugBytes
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять