https://htmx.org logo
I think CBV is a better approach for HTMX; especia...
# 🔥-django-htmx
f
I think CBV is a better approach for HTMX; especially when working with forms, as it easily allows you to re-use the initial rendering logic. An exemplary CBV HTMX-approach I also adopted can be seen here https://github.com/Tiny-Tiny-App/tinytinylog/blob/develop/log/views.py On top of that I have a function-based
xapi/
where I swap out global partials.