☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
ko-fi.com/bugbytes
This video looks at the 'django-components' package that allows developers to build re-usable, custom Django template components. We'll learn how to define these components, and use them in our Django apps.
📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
01:21 django-components intro and setup
06:13 Installing DaisyUI and TailwindCSS
06:41 Creating Card component using Django-components
10:51 Using component in Django templates
13:06 Passing custom data into Django-components
17:58 Adding CSS to components
22:02 Adding JavaScript interactivity to components
26:54 Security when using django-components
𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📖 Blog: bugbytes.io/posts/
👾 Github: github.com/bugbytes-io/
🐦 Twitter: / bugbytesio
📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
django-components: github.com/EmilStenstrom/djan...
DaisyUI installation: daisyui.com/docs/cdn/
DaisyUI card: daisyui.com/components/card/
#python #django #webdevelopment
30 июн 2024