📦 django-htmx 1.23.0 is out, now with a vendored copy of htmx!
Now you no longer need to download and maintain a copy of htmx in your project, just use the template tag:
{% load django_htmx %}
{% htmx_script %}
📦 django-htmx 1.23.0 is out, now with a vendored copy of htmx!
Now you no longer need to download and maintain a copy of htmx in your project, just use the template tag:
{% load django_htmx %}
{% htmx_script %}
When I started django-htmx, htmx was fairly new, and I didn’t want the churn of updating a vendored copy.
But now htmx is stable, per https://htmx.org/essays/future/, it’s time to make it easier to use.
@adamchainz oh, I missed the original post. Time to update some projects.
@oliverandrich Enjoy!
@adamchainz so you include a handy template tag to include it? And also management command download the fresh version to a project? I would love to kill the corresponding stuff I made up and dropped into a lot of projects at work. :)
@oliverandrich not the management command; @adamchainz said it's low-value, and now that htmx is vendored, I guess it's even more so :)
https://github.com/adamchainz/django-htmx/pull/428#issuecomment-2268780587