In this video, you'll learn how to make dynamic forms with Django and Htmx. You'll also see how to use Django Formsets and why Htmx is a great replacement for it. Also, building dynamic forms Htmx means you don't need to use any JavaScript.
📖 Read the blog post
https://justdjango.com/blog/dynamic-forms-in-django-htmx
💻 Project code
https://github.com/justdjango/django_htmx_dynamic_forms
Professional Django developer courses:
👉 https://justdjango.com
✌️ Stay in touch
Facebook: https://www.facebook.com/justdjangocode
Instagram: https://www.instagram.com/justdjangocode
Twitter: https://www.twitter.com/justdjangocode
Email: matt@justdjango.com
Thank you for watching and don't forget to subscribe :)
00:00 Intro
00:39 Start project
02:09 htmx intro
02:30 Install books
05:00 Django form sets
16:30 htmx intro
18:22 Install htmx
20:30 Functioned based views
23:25 htmx swapping
26:47 Creating a detail view
31:00 Replacing a form
33:30 CRUD
43:00 Styling with Tailwind
45:40 Installing Crispy forms