У нас вы можете посмотреть бесплатно Django Templates - DRY Templates, Partials, and Passing Context to Child Templates или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In this video, we'll learn some best practices for Django templates, including: 1. How to keep templates DRY by extracting common code to partials (or fragments) 2. How to include child HTML templates with the {% include %} template-tag. 3. How to pass dynamic/additional CONTEXT down to partial templates to customize them 📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀: 02:50 Extracting Common HTML to Partial Templates 04:22 Passing Context to Partial Templates 07:42 Passing 'Active' Context to Partial ☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲: To support the channel and encourage new videos, please consider buying me a coffee here: https://ko-fi.com/bugbytes ▶️ Full Playlist: • Django Primers 𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮: 📖 Blog: https://www.bugbytes.io/posts/ 👾 Github: https://github.com/bugbytes-io/ 🐦 Twitter: / bugbytesio #django #python