A Tailwind template pack for the wonderful django-crispy-forms.
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"
TODO