How I Start: Django, Tailwind, HTMX (part 3)

In part 1 and part 2, we got the basic project workflow set up. Now it’s time to add some basic models and views.
Read more →

How I Start: Django, Tailwind, HTMX (part 2)

In part 1, I set up the project, a sensible .gitignore, tailwind, and live reloading along with some run targets for PyCharm. Now it’s time to finish up the housekeeping.
Read more →

How I Start: Django, Tailwind, HTMX (part 1)

I wanted to try out some “modern” front-end development for a while, and I did. FastAPI is great. So is Svelte. But even though I found creating APIs that way to be a breeze, building a whole site that way felt much slower and heavier than using traditional server rendering. So I decided to give django a fair shake for a while, and I’m glad I did. Here’s how I currently like to get a site started with django, using Tailwind CSS for responsive layouts and styling, and mixing in alpine.js and HTMX to make the site feel reactive. I’m glad I gave the backend/frontend split an honest try, but this fits the way I think about sites better.
Read more →