# Tailwind CSS integration for Django a.k.a. Django + Tailwind = 💚
![Django Tailwind Demo](https://raw.githubusercontent.com/timonweb/django-tailwind/master/docs/django-tailwind-demo-800.gif)
## 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](https://timonweb.com/django/django-tailwind-with-support-for-the-latest-tailwind-css-v3-is-out/).
## Requirements
Python 3.10 or newer with Django >= 3.2 or newer.
## Documentation
The full documentation is at https://django-tailwind.readthedocs.io/
## Installation
Via PIP:
```bash
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:
```bash
pip install 'django-tailwind[reload]'
```
Check docs for the [Installation](https://django-tailwind.readthedocs.io/en/latest/installation.html) instructions.
## Bugs and suggestions
Please see [CONTRIBUTING](CONTRIBUTING.md).
2019 - 2023 (c) [Tim Kamanin - A Full Stack Django Developer](https://timonweb.com)
Raw data
{
"_id": null,
"home_page": "https://github.com/timonweb/django-tailwind",
"name": "django-tailwind",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10.0,<4.0.0",
"maintainer_email": "",
"keywords": "django,tailwind,css",
"author": "Tim Kamanin",
"author_email": "tim@timonweb.com",
"download_url": "https://files.pythonhosted.org/packages/3c/ee/1065c57c87213f566d76b398f8391cd544380ef9661f7fdacdfe4264633c/django_tailwind-3.8.0.tar.gz",
"platform": null,
"description": "# Tailwind CSS integration for Django a.k.a. Django + Tailwind = \ud83d\udc9a\n![Django Tailwind Demo](https://raw.githubusercontent.com/timonweb/django-tailwind/master/docs/django-tailwind-demo-800.gif)\n\n## Goal\nThis project aims to provide a comfortable way of using the *Tailwind CSS* framework within a Django project.\n\n## Features\n* An opinionated *Tailwind CSS* setup that makes your life easier;\n* Hot reloading of CSS, configuration files, and *Django* templates. No more manual page refreshes!\n* Out of the box support for CSS imports, SASS-like variables, and nesting;\n* Includes official *Tailwind CSS* plugins like *typography*, *form*, *line-clamp*, and *aspect-ratio*;\n* Supports the latest *Tailwind CSS* `v3.x`;\n\n> [For instructions on upgrading from `v2` to `v3`, see this post on my blog](https://timonweb.com/django/django-tailwind-with-support-for-the-latest-tailwind-css-v3-is-out/).\n\n## Requirements\nPython 3.10 or newer with Django >= 3.2 or newer.\n\n## Documentation\nThe full documentation is at https://django-tailwind.readthedocs.io/\n\n## Installation\nVia PIP:\n```bash\npip install django-tailwind\n```\n\n[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:\n\n ```bash\n pip install 'django-tailwind[reload]'\n ```\n\nCheck docs for the [Installation](https://django-tailwind.readthedocs.io/en/latest/installation.html) instructions.\n\n## Bugs and suggestions\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md).\n\n2019 - 2023 (c) [Tim Kamanin - A Full Stack Django Developer](https://timonweb.com)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Tailwind CSS Framework for Django projects",
"version": "3.8.0",
"project_urls": {
"Homepage": "https://github.com/timonweb/django-tailwind"
},
"split_keywords": [
"django",
"tailwind",
"css"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cf1420c40882d9ee91f7a2a20d3c0175cf813340c02ae31c975ce567de2c7c67",
"md5": "54d19a76f7c5b903aa0f2beb46b46acd",
"sha256": "fa969c5b95d314b173fe2b2ed2cb2c03f2e2c94fdc2c01ff73a993fa159085da"
},
"downloads": -1,
"filename": "django_tailwind-3.8.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "54d19a76f7c5b903aa0f2beb46b46acd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10.0,<4.0.0",
"size": 12936,
"upload_time": "2023-12-22T16:05:17",
"upload_time_iso_8601": "2023-12-22T16:05:17.260274Z",
"url": "https://files.pythonhosted.org/packages/cf/14/20c40882d9ee91f7a2a20d3c0175cf813340c02ae31c975ce567de2c7c67/django_tailwind-3.8.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3cee1065c57c87213f566d76b398f8391cd544380ef9661f7fdacdfe4264633c",
"md5": "fd0f15883ecc9910341644b78d733b90",
"sha256": "31c2f4a7879d685c2de0feaf0b63f246200b37337bea4d7dbafb59bc3f10c008"
},
"downloads": -1,
"filename": "django_tailwind-3.8.0.tar.gz",
"has_sig": false,
"md5_digest": "fd0f15883ecc9910341644b78d733b90",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10.0,<4.0.0",
"size": 8969,
"upload_time": "2023-12-22T16:05:19",
"upload_time_iso_8601": "2023-12-22T16:05:19.251466Z",
"url": "https://files.pythonhosted.org/packages/3c/ee/1065c57c87213f566d76b398f8391cd544380ef9661f7fdacdfe4264633c/django_tailwind-3.8.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-22 16:05:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "timonweb",
"github_project": "django-tailwind",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "django-tailwind"
}