pip install hx-requests
Once installed add hx_requests
to your INSTALLED_APPS
in settings.py:
INSTALLED_APPS = ( ... 'hx_requests', )
Note
It's assumed that htmx is already included in the base html file. It's also recommended to include hyperscript.
Htmx:
<script src="https://unpkg.com/htmx.org@1.8.6"></script>
Hyperscript:
<script src="https://unpkg.com/hyperscript.org@0.9.8"></script>