โ๏ธ ๐๐๐ ๐บ๐ฒ ๐ฎ ๐ฐ๐ผ๐ณ๐ณ๐ฒ๐ฒ:
To support the channel and encourage new videos, please consider buying me a coffee here:
https://ko-fi.com/bugbytes
โญTop resource to learn Python - https://datacamp.pxf.io/kOjKkV โญ
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-HTMX-Finance-App
๐ ๐๐ต๐ฎ๐ฝ๐๐ฒ๐ฟ๐:
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-HTMX-Finance-App
๐ฆ Twitter: https://twitter.com/bugbytesio
๐ ๐๐๐ฟ๐๐ต๐ฒ๐ฟ ๐ฟ๐ฒ๐ฎ๐ฑ๐ถ๐ป๐ด ๐ฎ๐ป๐ฑ ๐ถ๐ป๐ณ๐ผ๐ฟ๐บ๐ฎ๐๐ถ๐ผ๐ป:
Django-htmx: https://django-htmx.readthedocs.io/en/latest/
Django ModelForm: https://docs.djangoproject.com/en/5.0/topics/forms/modelforms/#the-save-method
HeroIcons: https://heroicons.com/
DaisyUI Alert: https://daisyui.com/components/alert/
HTMX: https://htmx.org/docs/
#python #django #webdevelopment #htmx