django-planet
Feb. 6, 2021

How To Use Htmx In Django

in blog Matt Layman
original entry How To Use Htmx In Django

This article shows you how to use htmx in Django. What is htmx? According to the htmx website: htmx allows you to access AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext. The example that we’ll craft is an ability to delete a task from a list of tasks without reloading the whole page.