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.2.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_tailwind-3.2.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file django-tailwind-3.2.0.tar.gz.

File metadata

  • Download URL: django-tailwind-3.2.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Darwin/21.1.0

File hashes

Hashes for django-tailwind-3.2.0.tar.gz
Algorithm Hash digest
SHA256 dad76d73009588e7fb67368455a80e54c9d2cd1446b4a0cee373df3495174572
MD5 f83f25d81e4b35768173ba9cdd25080e
BLAKE2b-256 5878cf92755819a0ee07a674b7ef01cb5cdb05bfa59787c6fd31126e2cf382cd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for django_tailwind-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 18b6f5d41dcbaa7512c878bb7e8ef8e64a12e52b1d9918c9176d8956096a50df
MD5 5e882288f6706794b97deff49d00ab36
BLAKE2b-256 770ecf950c7470a11b349ad73c7ec850c63f61733366cec38269cfc9a662e20e

See more details on using hashes here.

Supported by

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