Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Django & HTMX - Building Hypermedia Web Applications!
Bestseller
Rating: 4.8 out of 5(130 ratings)
826 students

Django & HTMX - Building Hypermedia Web Applications!

Learn how to build HTMX-driven apps with Django, including WebSocket based apps with django-channels
Created byBugBytes (Lyle)
Last updated 1/2026
English
English [Auto],

What you'll learn

  • HTMX core attributes and behavior
  • How to build a CRUD app with Django & HTMX
  • How to build a WebSocket-driven chat app with Django, HTMX and django-channels
  • HTMX integration with tools like Alpine.js, GSAP and Sweetalert
  • How to deploy Django apps (with django-channels and Redis) to Render cloud platform
  • How to work with file uploads and cloud storage (Amazon S3)

Course content

6 sections • 79 lectures • 10h 57m total length
  • Course Introduction3:17

    Explore how Django applications leverage HTML and hypermedia tools to build interactive, server-driven interfaces with Ajax, HTML over the wire, and progressive front-end styling using Tailwind CSS and Daisy UI.

  • HTMX - An Overview4:52

    Explore how HTMX extends HTML with inline attributes to send Ajax requests and swap content without full page reloads, enabling any element to trigger HTTP calls beyond get and post.

  • Why use HTMX in the Modern Web Development Landscape?4:28

    Discover why HTML and hypermedia tools simplify modern web development, offering a backend-friendly alternative to heavy front-end frameworks and enabling rapid prototyping with HTML and Alpine.js.

Requirements

  • Some exposure to Django and Python would be beneficial before taking the course

Description

Django is the most popular Python web framework, and an up-and-coming paradigm is to build Hypermedia based applications using tools like HTMX. These remove the complexity and bloat of JavaScript frameworks, providing a simpler and more stable model for building web apps.

In this course, we'll look at HTMX from the ground up, before eventually building a more complex chat-room application that uses django-channels to handle WebSocket functionality, and will integrate this with tools like Redis and the HTMX WebSocket plugin. We'll look at deploying this app to the Render cloud platform, and will look at at handling file uploads to cloud storage (Amazon S3) using Django & HTMX.

Throughout the course, we will look at the following concepts, among others:

  • Fundamental HTMX attributes - hx-get, hx-trigger, hx-target, etc

  • Hypermedia concepts - HTML over the wire, locality of behavior, AJAX requests

  • Building CRUD applications with HTMX and Django

  • HTMX integration with Sweetalert2 for confirmations

  • HTMX integration with GSAP for animations

  • HTMX integration with Alpine.js for interactive, sleek webpages

  • File uploads with HTMX and Amazon S3

  • HTMX WebSocket plugin

  • HTMX SSE (server-sent events) plugin

  • django-channels & Redis integration

  • Broadcasting messages to chat rooms with Channel Layers

  • Integrating HTMX with Django core features - Models, Forms, Views, Templates

  • Deploying Django apps to the Render cloud platform

  • HTMX Polling functionality

  • Server-Sent Events functionality with Django & HTMX

  • Implementing common HTMX patterns such as Active Search

  • Useful Django packages - django-htmx, django-template-partials, Whitenoise

  • Basic TailwindCSS and DaisyUI styling

Who this course is for:

  • Python web-developers who want to build apps with HTMX/hypermedia tools
  • Django developers looking to build WebSocket/chat functionality from the ground up