What students are saying
Source code and course GitHub repositorygithub.com/talkpython/htmx-django-course
What's this course about and how is it different?
This is the only course (that we're aware of) that shows you the full lifecycle of building Python and Django-based applications centered around htmx. Unlike basic tutorials where you'll find only just quick coverage of a simple feature, we take a full-fledged web app and extend it by adding four real-world features all building upon htmx.
Moreover, we show you the right way to use htmx with Django and Python. The resulting code is incredibly clean and would impress almost any professional web developer.
Sister course for Flask developers
If you're using Flask rather than Django, we also have a very popular HTMX + Flask course available from Talk Python.
What will we build
In the course, we will add a bunch of htmx-powered features to an existing application. This app, called Video Collector, is a beautiful Django web app that allows us to save, explore, search, and play videos we've collected from YouTube.
What topics are covered
In this course, you will:
- Understand the server-side exchange enabled by htmx attributes (e.g.
- Add click to edit to an existing data-driven Django application.
- Add deep linking to our dynamic web application, allowing us to share links into interactive segments.
- Add active search to an existing data-driven Django application.
- Implement browser history for htmx actions (allowing back and forth navigation).
- Add infinite scroll to our app.
- Distinguish between full page requests and partial htmx requests within a single view method in Django.
- And lots more
View the full course outline.
Who is this course for?
The experience level for taking this course is not significantly high. You'll need
- A basic understanding of how Django works
- Experience with core Python concepts (such as classes, functions, and decorators) but nothing complex (such as async or metaclasses)
- You'll need to know a little about HTML and HTTP
Concepts backed by concise visuals
While exploring a topic interactively with demos and live code is very engaging, it can mean losing the forest for the trees. That's why when we hit a new topic, we stop and discuss it with concise and clear visuals.
Get hands-on for almost every chapter
While watching videos is great to give you that high level overview of what you need to know about a technology, nothing makes that skill your own like writing actual code and creating real webapps that use htmx.
In this course, you'll have access to all the source code at github.com/talkpython/htmx-django-course.
Each chapter, which corresponds to each major feature roughly, has a starter and final code section. This means you can start from the beginning and work along side us as we build out final application. And if you get stuck, or want to jump around, you can grab the starter code for any chapter and carry on from them.
You are strongly encouraged to work along as you go through the course. Remember that in programming, you learn by doing.
This course is delivered in very high resolution
This course is delivered in 1440p (4x the pixels as 720p). When you're watching the videos for this course, it will feel like you're sitting next to the instructor looking at their screen.
Every little detail, menu item, and icon is clear and crisp. Watch the introductory video at the top of this page to see an example.
Follow along with subtitles and transcripts
Each course comes with subtitles and full transcripts. The transcripts are available as a separate searchable page for each lecture. They also are available in course-wide search results to help you find just the right lecture.
Who am I? Why should you take my course?
My name is Christopher and I'm happy to be delivering this Django course for you. I've been writing Django web applications for over a decade at a variety of companies both small and large. I am a consultant who provides organizations advice on both their technical stack and software development processes.
I've taught thousands of students in person and virtually on a variety of topics, including Agile methodologies, Testing, Requirements management, and DevOps. My Python screencasts cover Django, PyGame, SQLAlchemy, Data structures, Unicode, cryptography, and more.
The time to act is now
htmx is one of the hottest properties in the web world today, and for good reason. This framework, along with the libraries and techniques introduced in this course, will have you writing the best Python web apps you've ever written: clean, fast, and interactive without all that frontend overhead.
Not sure? You've got nothing to lose. Every one of our courses comes with a 2-week money-back guarantee including this one!