Skip to content

timonweb/django-tailwind

Folders and files

NameName
Last commit message
Last commit date
Apr 2, 2025
Apr 2, 2025
Apr 2, 2025
Apr 2, 2025
Apr 2, 2025
Apr 1, 2025
Jun 19, 2022
Apr 2, 2025
Dec 14, 2023
Apr 2, 2025
Jun 22, 2023
Jun 19, 2022
Apr 9, 2021
Apr 3, 2025
Apr 7, 2021
Apr 2, 2025
Apr 4, 2025

Repository files navigation

Tailwind CSS integration for Django a.k.a. Django + Tailwind = πŸ’š

Django Tailwind Demo

Goal

This project aims to provide a comfortable way of using the Tailwind CSS framework within a Django project.

Features

  • An opinionated Tailwind CSS setup that makes your life easier;
  • Hot reloading of CSS, configuration files, and Django templates. No more manual page refreshes!
  • Out of the box support for CSS imports, SASS-like variables, and nesting;
  • Supports the latest Tailwind CSS v4.x;

Requirements

Python 3.10 or newer with Django >= 4.2.20 or newer.

Documentation

The full documentation is at https://django-tailwind.readthedocs.io/

Installation

Via PIP:

pip install django-tailwind

[RECOMMENDED IN DEV] If you want to use automatic page reloads during development use the [reload] extras, which installs the django-browser-reload package in addition:

pip install 'django-tailwind[reload]'

Check docs for the Installation instructions.

Bugs and suggestions

Please see CONTRIBUTING.

2019 - 2025 (c) Tim Kamanin - A Full Stack Django Developer