feat(src/djinit/templates/project): add optional Tailwind, HTMX, and database URL dependenciesAdd conditional dependencies for Tailwind, HTMX, and database URL in pyproject.toml template; update dockerignore to include staticfiles; fix Dockerfile CMD newline handling.
Details: - New Features: Conditional Tailwind, HTMX, and database URL dependencies - Enhancements: Updated dockerignore to include staticfiles - Bug Fixes: Fixed Dockerfile CMD newline handling
This commit is contained in:
1 file changed
+6
@@ -20,6 +20,12 @@ dependencies = [
|
|||||||
# @IF database_type == 'postgresql'
|
# @IF database_type == 'postgresql'
|
||||||
"psycopg[binary]",
|
"psycopg[binary]",
|
||||||
# @ENDIF
|
# @ENDIF
|
||||||
|
# @IF use_tailwind
|
||||||
|
"django-tailwind-cli",
|
||||||
|
# @ENDIF
|
||||||
|
# @IF use_htmx
|
||||||
|
"django-htmx",
|
||||||
|
# @ENDIF
|
||||||
# @IF use_database_url
|
# @IF use_database_url
|
||||||
"dj-database-url",
|
"dj-database-url",
|
||||||
# @ENDIF
|
# @ENDIF
|
||||||
|
|||||||
Reference in new issue
Block a user