{% extends "alerts/htmx/base.html" %} {% block title %}Home - Alert System HTMX{% endblock %} {% block content %}

Alert System (HTMX)

Partial HTML updates without page reload

{% include 'alerts/htmx/partials/alerts_table.html' %}

HTMX + Django Demo

This version uses HTMX for dynamic updates:

  • Partial updates: Only the relevant parts of the page are refreshed
  • No page reload: AJAX requests update content in-place
  • Modal interactions: Forms appear in modals without navigation
  • Real-time notifications: Custom events trigger UI updates
  • No JavaScript code: All interactivity defined in HTML attributes
  • Single-user updates: Changes don't broadcast to other users (use polling if needed)
{% endblock %}