django-slippers and DRY Django Templates

Описание к видео django-slippers and DRY Django Templates

This video will demonstrate the benefits of avoiding repeated code in your Django templates, by extracting common functionality to template fragments and passing contexts to the {% include %} template-tag.

We will also look at django-slippers - a UI component library for building repeatable components in your Django applications.

☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
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 'include' templatetag: https://docs.djangoproject.com/en/4.0...
django-slippers: https://mitchel.me/slippers/docs/intr...
django-slippers intallation: https://mitchel.me/slippers/docs/inst...
django-slippers creating a component: https://mitchel.me/slippers/docs/gett...

#django #python

Комментарии

Информация по комментариям в разработке