Replace custom HTMX tooling with django-htmx #9063

Closed
opened 2025-12-29 20:44:58 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jan 8, 2024).

Proposed Changes

NetBox currently employs HTMX for dynamic rendering of certain UI views. This issue proposes replacing our related custom tooling (e.g. is_htmx()) with functionality provided by the django-htmx package.

Justification

Now that we've committed to using HTMX for enabling a more responsive UI, it makes sense to adopt a library dedicated to supporting HTMX operations and avoid reinventing the wheel.

Originally created by @jeremystretch on GitHub (Jan 8, 2024). ### Proposed Changes NetBox currently employs HTMX for dynamic rendering of certain UI views. This issue proposes replacing our related custom tooling (e.g. `is_htmx()`) with functionality provided by the [`django-htmx` package](https://github.com/adamchainz/django-htmx). ### Justification Now that we've committed to using HTMX for enabling a more responsive UI, it makes sense to adopt a library dedicated to supporting HTMX operations and avoid reinventing the wheel.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 20:44:58 +01:00
adam closed this issue 2025-12-29 20:44:58 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9063