MENU

Fun & Interesting

Django & HTMX App - Create Transactions w/ HTMX

BugBytes 4,409 12 months ago
Video Not Working? Fix It Now

โ˜•๏ธ ๐—•๐˜‚๐˜† ๐—บ๐—ฒ ๐—ฎ ๐—ฐ๐—ผ๐—ณ๐—ณ๐—ฒ๐—ฒ: 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 give users the ability to create new transactions using HTMX and Django. We'll create a Django Form class for adding a transaction, and will create an HTMX-driven submission to enable the user to add their transactions. Github: https://github.com/bugbytes-io/Django-HTMX-Finance-App ๐Ÿ“Œ ๐—–๐—ต๐—ฎ๐—ฝ๐˜๐—ฒ๐—ฟ๐˜€: 00:00 Intro 00:54 Adding HTMX-based link to create transaction page 04:45 Adding URL and View for create transaction page 06:01 Adding transaction Django form 16:10 Handling HTMX POST request to create transaction ๐—ฆ๐—ผ๐—ฐ๐—ถ๐—ฎ๐—น ๐— ๐—ฒ๐—ฑ๐—ถ๐—ฎ: ๐Ÿ“– Blog: https://bugbytes.io/posts/ ๐Ÿ‘พ Github: https://github.com/bugbytes-io/Django-HTMX-Finance-App ๐Ÿ“š ๐—™๐˜‚๐—ฟ๐˜๐—ต๐—ฒ๐—ฟ ๐—ฟ๐—ฒ๐—ฎ๐—ฑ๐—ถ๐—ป๐—ด ๐—ฎ๐—ป๐—ฑ ๐—ถ๐—ป๐—ณ๐—ผ๐—ฟ๐—บ๐—ฎ๐˜๐—ถ๐—ผ๐—ป: Django-htmx: https://django-htmx.readthedocs.io/en/latest/ HeroIcons: https://heroicons.com/ DaisyUI Alert: https://daisyui.com/components/alert/ HTMX: https://htmx.org/docs/ #python #django #webdevelopment #htmx

Comment