Skip to content

Commit

Permalink
Update tailwind.py (#148)
Browse files Browse the repository at this point in the history
Added '**/*.py'. This enables use of styles in python files e.g. crispy-forms
  • Loading branch information
xaitec authored Jan 30, 2025
1 parent c5093bc commit bf91adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/django_tailwind_cli/management/commands/tailwind.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def _download_cli(*, force_download: bool = False) -> None:
const plugin = require("tailwindcss/plugin");
module.exports = {
content: ["./templates/**/*.html", "**/templates/**/*.html"],
content: ["./templates/**/*.html", "**/templates/**/*.html",'**/*.py'],
theme: {
extend: {},
},
Expand Down

0 comments on commit bf91adb

Please sign in to comment.