• Stars
    star
    1,430
  • Rank 32,906 (Top 0.7 %)
  • Language
    Python
  • License
    MIT License
  • Created over 5 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Django + Tailwind CSS = 💚

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 >= 3.2 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 - 2023 (c) Tim Kamanin - A Full Stack Django Developer

More Repositories

1

django-bulma

Bulma theme for Django
CSS
339
star
2

pytailwindcss

Python
310
star
3

django-clearcache

Clear Django cache from admin or command line
Python
48
star
4

Django-manage.py-anywhere

Run manage.py commands from anywhere. Finds the closest to current path manage.py file and runs commands against it.
Python
34
star
5

django-dbbackup-ui

Backup database and media files via Django admin interface (includes Wagtail admin support): pip install django-dbbackup-ui
Python
33
star
6

django-debug-permissions

Get a list of all user permissions available in the system
Python
29
star
7

wagtail-non-admin-draftail

Python
18
star
8

everyblock

Python
15
star
9

django-url-or-relative-url-field

A Django model field that supports both absolute and relative URLs.
Python
10
star
10

djow

Django On Wings (DJOW): Django Project Template
CSS
6
star
11

drupal-file-permissions

Drupal File Permissions Bash Script
Shell
5
star
12

wagtailsnippetscopy

'Copy A Snippet' Feature for Wagtail CMS
Python
5
star
13

django-forgiving-collectstatic

Python
5
star
14

django-ajax-comments-xtd

An addon app to https://github.com/danirus/django-comments-xtd that makes comments submittable via ajax
HTML
4
star
15

django-vue-helper

Python
4
star
16

Druppets

Druppets is a set of commonly used snippets of Drupal 6 Code
PHP
2
star
17

django-vue-starter

Plain simple Django project preconfigured for use with Vue. Not polished. For internal usage only.
Python
1
star
18

backup-jeans

Files and db backup script powered by Duplicity and PyInvoke
Python
1
star
19

docker-cron-swissknife

Alpine based dockerfile that allows to register and execute cron tasks with ease.
Shell
1
star
20

Simple-Moderation

Simple Moderation Module for Drupal
PHP
1
star
21

django-object-admin

Adds a nice floating menu with "Add/Change/Delete/History/Go to admin" links to a current page object.
CSS
1
star