thomasrockhu / crispy-tailwind

A Tailwind template pack for django-crispy-forms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crispy-Tailwind

A Tailwind template pack for the wonderful django-crispy-forms.

How to install

Install via pip.

pip install crispy-tailwind

You will need to update your project's settings file to add crispy_forms and crispy_tailwind to your projects INSTALLED_APPS. Also set tailwind as and allowed template pack and as the default template pack for your project:

INSTALLED_APPS = (
    ...
    "crispy_forms",
    "crispy_tailwind",
    ...
)

CRISPY_ALLOWED_TEMPLATE_PACKS = "tailwind"

CRISPY_TEMPLATE_PACK = "tailwind"

How to use

TODO

About

A Tailwind template pack for django-crispy-forms

License:MIT License


Languages

Language:Python 60.6%Language:HTML 39.4%