Django & HTMX App - Updating Data with HTMX

Опубликовано: 24 Июнь 2024
на канале: BugBytes
2,342
138

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

In this video, we'll add functionality to update user transactions in the application. We'll wire all of this up with HTMX!

We'll also write a test with pytest, for the update transaction functionality.

Github: https://github.com/bugbytes-io/Django...

📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
01:27 Adding edit & delete icons
05:18 Adding URL & view to edit transactions with HTMX
16:31 Handling POST request in Django view
21:52 Adding test for updating transaction

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

📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
Django-htmx: https://django-htmx.readthedocs.io/en...
Django ModelForm: https://docs.djangoproject.com/en/5.0...
HeroIcons: https://heroicons.com/
DaisyUI Alert: https://daisyui.com/components/alert/
HTMX: https://htmx.org/docs/


#python #django #webdevelopment #htmx


Смотрите видео Django & HTMX App - Updating Data with HTMX онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь BugBytes 24 Июнь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,342 раз и оно понравилось 138 людям.