Skip to content

Commit

Permalink
Merge branch 'main' into bugfix/django-crispy-forms#118-disabled-attr…
Browse files Browse the repository at this point in the history
…-for-selects

# Conflicts:
#	docs/requirements.txt
  • Loading branch information
GitRon committed Jan 4, 2024
2 parents 69d2dce + 4422619 commit 6705756
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions docs/getting_started.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ your project::

CRISPY_TEMPLATE_PACK = "tailwind"

If you use `Tailwind CLI <https://tailwindcss.com/docs/installation>`_, you have to provide the path to your
templates. Since this package contains templates which are within your Pythons `site-packages`, it's hard to tell
Tailwind where these templates live.

Thanks to Carlton Gibson's blog, you can implement (aka copy & paste) a Django management command and the corresponding
Tailwind configuration:

https://noumenal.es/notes/tailwind/django-integration/

Usage
=====

Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sphinx-rtd-theme
docutils<0.21,>=0.18.1
docutils<0.21,>=0.18.1

0 comments on commit 6705756

Please sign in to comment.