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:
sankalp committed 2026-05-28 09:32:52 +05:45
1 parent b6e1d39132
commit 4609ff6eb1
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