--- id: django-tailwind version: "4.5.0" license: MIT license_treatment: permissive maintenance: active --- # django-tailwind — Tailwind CSS Framework for Django projects License: permissive · Maintenance: active · Downloads: 408.6K/mo ## What it is and what it does Django-tailwind is a Django app that streamlines Tailwind CSS integration into Django projects. It generates a new Django app with all necessary configuration files and provides management commands to initialize, install, and run Tailwind CSS alongside Django's development server. The package supports two installation modes: a standalone binary that works without Node.js, or an npm-based setup for those who prefer npm tooling. It includes hot reloading of CSS, configuration files, and templates to eliminate manual page refreshes during development, plus built-in support for CSS imports, nesting, and optional DaisyUI components. The package depends on django and pytailwindcss as its core runtime dependencies. It's designed for Django 4.2.20 and newer across versions 5.0 through 6.0, and requires Python 3.11 or newer. The project is actively maintained with recent releases and carries no known security vulnerabilities, making it suitable for both development and production use. Use it for: - Set up a new Django project with Tailwind CSS styling without manually configuring build tools or Node.js dependencies. - Add Tailwind CSS to an existing Django application with automatic hot reloading during template and configuration changes. - Develop Django templates using Tailwind utility classes with a single command that runs both Django and Tailwind servers together. - Integrate DaisyUI pre-built components into a Django project for faster UI development with Tailwind. - Manage Tailwind CSS plugins through Django management commands without leaving the Django development workflow. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Integrates Tailwind CSS into Django projects with optional hot reloading, supporting both standalone binary and npm-based installation modes without requiring Node.js for the standalone option. Yes. Django-tailwind is actively maintained, carries no known vulnerabilities, and has low installation friction with only two runtime dependencies. It's production-stable (Development Status 5) and supports current Django and Python versions. Choose it if you want Tailwind CSS in Django with minimal setup overhead and optional Node.js-free operation via the standalone binary mode. ## Install pip install django-tailwind uv add django-tailwind poetry add django-tailwind ## Installing django-tailwind Before you install: Low friction: pure Python wheel with only two runtime dependencies (django and pytailwindcss). Active maintenance with recent releases and no known vulnerabilities. License in practice: MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal attribution requirements. Quickstart: pip install django-tailwind # In settings.py, add to INSTALLED_APPS: INSTALLED_APPS = ["tailwind"] # Then run: python manage.py tailwind init python manage.py tailwind install python manage.py tailwind dev Requires Python 3.11 or newer and Django 4.2.20 or newer; Node.js is optional depending on installation mode chosen. Verify before relying: - Whether the standalone binary mode truly works on all operating systems without Node.js, or if certain platforms have undocumented requirements - Performance characteristics of hot reloading with large template sets or complex Tailwind configurations - Compatibility details with Django middleware or third-party packages that might interfere with the development server ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 408.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags tailwind css django integration, django tailwind setup, tailwind css framework django, css framework django, tailwind development server django, django css tooling, tailwind hot reload django, css-framework, django-integration, hot-reload [View on SkillFed](https://skillfed.io/packages/django-tailwind) · [View on PyPI](https://pypi.org/project/django-tailwind/)