Skip to main content

Tailwind CSS Framework for Django projects

Project description

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;
  • Includes official Tailwind CSS plugins like typography, form, line-clamp, and aspect-ratio;
  • Supports the latest Tailwind CSS v3.x;

For instructions on upgrading from v2 to v3, see this post on my blog.

Requirements

Python 3.8 or newer with Django >= 2.2 or newer.

Documentation

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

Installation

Via PIP:

pip install django-tailwind

Check docs for the Installation instructions.

Bugs and suggestions

If you have found a bug, please use the issue tracker on GitHub.

https://github.com/timonweb/django-tailwind/issues

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_tailwind-3.5.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

django_tailwind-3.5.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file django_tailwind-3.5.0.tar.gz.

File metadata

  • Download URL: django_tailwind-3.5.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.2 Darwin/21.1.0

File hashes

Hashes for django_tailwind-3.5.0.tar.gz
Algorithm Hash digest
SHA256 c089b05b47d0e9d19567a81a74949fde16cbbfd8e4264c1f8eb4216a644065b2
MD5 1955d20932bbc1923fcf152178831337
BLAKE2b-256 d8e05d7695b88011f492fd3e7ab6eea42eab09f49042a7a2c891cdc7cbcfd792

See more details on using hashes here.

File details

Details for the file django_tailwind-3.5.0-py3-none-any.whl.

File metadata

  • Download URL: django_tailwind-3.5.0-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.2 Darwin/21.1.0

File hashes

Hashes for django_tailwind-3.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dcc3b29463fff48a0e8ccd15c87fd467f0e746a7987bde0fdde6253dbb7861be
MD5 af43cc2a1b4fa34571935943cbb60e98
BLAKE2b-256 733139e35333016d763c63995b02cd85c8bce006c5d8094d1a1c7f90b59453a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page