Conversation
- New Features: - Add `use_tailwind` and `use_htmx` fields to `StructureOptions` and expose confirmation prompts via `get_tailwind_choice` and `get_htmx_choice`. - Persist these selections in the generated metadata and pass them through the initialization flow. - Enhancements: - Include `use_tailwind` and `use_htmx` values when constructing the metadata dictionary. - Display Tailwind CSS and HTMX choices in the final confirmation output. - Bug Fixes: none
…lags New Features: - Add `use_tailwind` metadata option (default False) for Tailwind CSS support. - Add `use_htmx` metadata option (default False) for HTMX support. Enhancements: - Extend DjangoHelper context to include the new flags in generated settings.
… settings Add configurable `use_tailwind` and `use_htmx` flags to the Django starter project context, allowing users to optionally include Tailwind CSS and HTMX JavaScript libraries. - New Features: - Introduce `use_tailwind` and `use_htmx` metadata flags in `base_settings_context`. - Propagate these flags to `requirements.txt`, generated `settings.py`, and CI configuration templates. - Enhancements: - Ensure the flags are consistently available across all templated files. - Bug Fixes: None.
…rojectMetadata **New Features** - Add `use_tailwind` and `use_htmx` boolean fields to `ProjectMetadata` with defaults set to `False`. - Update `ProjectMetadata.__init__` mapping to include these new attributes, ensuring they are persisted in project metadata.
…ia URLs Introduce Tailwind and HTMX support with conditional placeholders and correct static/media URL prefixes. - New Features - Add django_tailwind_cli and django_htmx when enabled - Add HtmxMiddleware to middleware stack - Pin Tailwind CLI version and set distribution CSS path in production - Configure Tailwind theme and daisyui settings - Enhancements - Prefix STATIC_URL and MEDIA_URL with '/' for proper URL handling - Update requirements templates with new optional dependencies - Expand pyproject.toml metadata and dependency groups - Bug Fixes - Fix missing leading slash in STATIC_URL and MEDIA_URL - Pin Tailwind CLI version to avoid unexpected upgrades
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.