One thing that I'm missing with HTMX and Django is proper error handling.
By default HTMX swallows any response that is not a 2xx, which might leave your users hanging on an endless loading state.
Does anyone have a good solution for this that can be reused between projects?
@anze3db TIL: "toasts" - maybe this is what you want? https://blog.benoitblanchon.fr/django-htmx-toasts/
Or (with Go and HTMX) https://themurph.hashnode.dev/go-beyond-the-basics-mastering-toast-notifications-with-go-and-htmx
@benjaoming For this particular example I think a local error text is more appropriate than a global toast, but I will also need toasts for other things so this is useful, thanks again!