---
canonical: "https://www.jsolly.com/blog/django-htmx-real-time-comments/"
title: "(Video) Effortless Real-Time Comments in Django Using HTMX"
description: "Add real-time comments to your Django app using HTMX. This step-by-step tutorial covers setting up HTMX and implementing seamless comment addition."
author: "John Solly"
published: "2023-08-14T03:42:28.022Z"
updated: "2026-09-07T14:25:05.525Z"
---

<a id="video-effortless-real-time-comments-in-django-using-htmx"></a>

# (Video) Effortless Real-Time Comments in Django Using HTMX

![John Solly Headshot](https://d1d7p8ufhgz4ld.cloudfront.net/media/post_metaimgs/blog_comment.webp)

Discover how to effortlessly add real-time commenting functionality to your Django application using HTMX. In this tutorial, we'll guide you through the step-by-step process of integrating HTMX to enable users to add comments without a page reload. This seamless approach enhances user interaction and provides a modern, responsive experience.

**What You'll Learn:**

Setting up HTMX in your Django project  
Creating an endpoint for adding comments that returns HTML fragments  
Implementing real-time comment addition with HTMX

Whether you're a beginner eager to explore new Django features or an experienced developer looking to add real-time capabilities to your app, this tutorial is tailored for you. Follow along, and take the first step in bringing your Django app to life with HTMX!

Stay tuned for the next video in this series, where we'll cover how to delete comments using HTMX.

Link to the PR where this feature was implemented on my blog: [https://github.com/jsolly/awesome-django-blog/pull/348](https://github.com/jsolly/awesome-django-blog/pull/348)

<iframe src="https://www.youtube-nocookie.com/embed/nYLTSp-vqzU" style="position:absolute;width:100%;height:100%;top:0;left:0" allow="autoplay; encrypted-media" allowfullscreen="" title="Video: (Video) Effortless Real-Time Comments in Django Using HTMX" loading="lazy"></iframe>

August 14, 2023 in [Web Dev](https://www.jsolly.com/blog/category/web-dev/)

Updated September 7, 2026
