The templates now reference a React entry script; switching from .js to .jsx ensures the compiled asset is correctly loaded and improves template fidelity, preventing missing script errors.
Enhancements
- Updated index.html‑tpl to reference `/src/main.jsx` instead of `/src/main.js`
- Normalized line endings for both index‑vue.html‑tpl and index.html‑tpl
- Remove stray backslashes and extra whitespace in Dockerfile, conftest, docker-compose, dockerignore, and Vue package templates
- Ensure consistent line endings and proper formatting across all generated template files
- Modern project structure with environment‑specific settings
- Pre‑configured REST API with JWT authentication
- Split settings for development and production
- API documentation via Swagger UI- CORS configured for local development
- WhiteNoise for static files
- Modern admin interface (django‑jazzmin)
- Docker support (Dockerfile, docker‑compose.yml)
- Frontend integration with Vite + React/Vue via django‑vite
- Testing framework (pytest, pytest‑django, pytest‑cov)
- Async task queues: Django‑Q2 and Celery with Redis
- Production‑ready configuration (Procfile, runtime.txt)
- Development tools via Justfile
- Environment template (.env.sample) and Git‑ready .gitignore
Enhancements
- Refactored layout with separate config modules (base, development, production)
- Organized API endpoints by model under `api/` directory
- Updated README with detailed setup instructions and command shortcuts
- Added Justfile with common development commands
Bug Fixes
- (none)
Update the configuration wizard to expose a broader set of optional integrations, reflect the latest project scaffolding capabilities, and clarify deployment components.
Details:
- New Features:
- Docker support (Dockerfile, docker-compose.yml)
- Frontend integration via Vite + React or Vue (django‑vite)
- Optional testing stack (pytest, pytest‑django, pytest‑cov)
- Optional async task handlers (django‑q2, Celery with Redis)
- Additional database driver (psycopg for PostgreSQL/MySQL)
- Modern admin UI (django‑jazzmin)
- Enhancements:
- Expanded list of optional CLI options (HTMX, Tailwind, etc.)
- Updated roadmap and TODO references
- Improved clarity of PostgreSQL/MySQL support statement- Bug Fixes: none
- New Features
- Introduce `use_django_q` and `use_celery` boolean flags in the project metadata
- Add UI prompts to confirm inclusion of Django‑Q2 and Celery when generating a project
- Expose these flags to all file templates and context processing
- Enhancements
- Update context dictionaries and file generation to respect the new flags - Extend required files handling for unified and single project structures
- Display Django‑Q2 and Celery choices in the final project summary output
Add configurable flags for enabling Django Q and Celery in generated projects.
New Features:
- Introduce `use_django_q` and `use_celery` entries in the metadata dictionary, defaulting to False when unspecified.
- Allow downstream code to conditionally activate these features based on user configuration.
Enhancements:
- Extend the metadata schema to support additional Django ecosystem integrations.
New Features
- Added extensive test configurations for Docker, React, Vue, Tailwind, pytest, and various combinations.
- Introduced new scenarios such as docker_react, docker_vue, docker_react_htmx, all_postgres, all_mysql, and unified structures.
Enhancements
- Added missing comma in metadata dictionary for valid syntax.
- Enhanced exception handling to print traceback on errors.
- Updated path formatting to use consistent double‑quoted strings.
- Improved cleanup of test directories and imports.
Bug Fixes
- Fixed syntax error in metadata dict that caused runtime failure.
- Corrected path construction to use forward slashes for cross‑platform compatibility.
- Added `use_vue` flag to enable Vue generation and introduced `create_vue_files()` method that scaffolds Vite/Vue frontend files (vite.config.js, package.json, index.html, App.vue, style.css, main.js).
- Extended context dictionaries in `FileCreator`, utility classes, and Django helper to include `use_vue`.
Enhancements
- Integrated Vue file creation into the setup pipeline via `_create_vue_files()` with success messaging.
- Propagated `use_vue` configuration through serialization and UI feedback.
Bug Fixes
- (none)
Add Vue integration via Vite and update UI prompts and metadata- New Features
- Introduce `use_vue` flag and corresponding UI confirmation
- Expose `get_vue_choice()` method and propagate selection through metadata
- Add console output for Vue confirmation in final summary
- Enhancements
- Update step ordering and comments to reflect Vue/Vite handling
- Adjust data flow in code to include Vue option consistently
- Bug Fixes
- None
Add pytest testing framework and update checklist to include Vue.
New Features
- Add pytest, pytest-django, pytest-cov as testing framework
- Include Vue in Frontend Integration description
Enhancements
- Update checklist entry to reflect Vue inclusion
Bug Fixes
- None
- Added conftest.py template with Django test database, API client, and test user fixtures.
- Added pytest.ini template configuring settings, test discovery, and custom markers.
- Integrated pytest and coverage requirements into the project requirements template.
- Enhancements
- None
- Bug Fixes
- None
Add a boolean `use_pytest` option that is populated from the project metadata and included in the generated Django assistant context. This allows projects to explicitly opt‑in to pytest integration when using djinitx.
- New Feature: Introduce `use_pytest` configuration key in the Django helper metadata dictionary.
- Enhancement: Expand context preparation to support additional project preferences.
- New Features:
- Added comprehensive test runner that cleans up temporary directories, verifies generated files, and prints a pass/fail summary.
- Introduced specific validation for pytest configuration, Vite integration, and Dockerfile dependencies based on selected metadata.
- Implemented clear pass/fail reporting with overall success metrics.
- Enhancements:
- Refactored bug_check.py to use explicit data structures and consistent double‑quote quoting for path construction.
- Improved formatting and readability of metadata definitions and context preparation.
- Fixed Windows‑specific path handling regression by switching to double‑quoted string interpolation.
- Bug Fixes:
- Corrected path building to use double‑quoted strings, preventing potential path parsing issues on Windows.
The CLI now scaffolds a Vite‑powered frontend when the `use_vite` flag is enabled, providing React entry files, configuration, and basic styling.
- New Features - Create `vite.config.js`, `package.json`, and core React source files (`main.jsx`, `App.jsx`, `index.jsx`, `index.css`).
- Add helper methods `_create_vite_files` and `create_vite_files` integrated into project setup.
- Generate frontend directories and `__init__.py` placeholders automatically.
- Enhancements
- Propagate `use_vite` context to templates for `requirements.txt`, CI/CD pipelines, and Docker files.
- Emit success message after Vite files are created.
- Include Vite‑related checks in setup step list.
- Bug Fixes
- None reported.
Add a minimal React frontend template (index.html, App.jsx, index.css, main.jsx) and configure static asset handling.
Update Docker Compose to populate DATABASE_URL according to the selected database type.
Include django‑vite in the template requirements and settings.
- New Features
- Scaffold `frontend` directory with React components and Vite entry point.
- Configure static URLs, root, and alias via `STATIC_URL`, `STATIC_ROOT`, and `DJANGO_VITE_ASSET_SRC`.
- Enhancements
- Dynamically set `DATABASE_URL` in `docker-compose.yml` for PostgreSQL or MySQL.
- Add `django-vite` to `THIRD_PARTY_APPS` and `requirements-tpl`.
- Bug Fixes
- None.
- Add `UIFormatter.get_vite_choice()` to prompt inclusion of Vite/React via django‑vite
- Introduce `use_vite` flag in `StructureOptions`, store it in metadata, and propagate to scaffolding templates
- Update CLI prompts and final project summary to display Vite/React confirmation
- Extend usage of the flag throughout app generation to honor the selected frontend stack
This script validates template consistency and metadata usage, ensuring generated configurations are correct across all use‑case combinations. It provides automated checks to catch missing variable replacements, unused metadata fields, and mis‑configured requirements.
- New Features
- Introduce `check_template_consistency` to detect unreplaced `[[` variables in all templates.
- Implement `check_metadata_usage` to verify that all metadata flags are correctly applied.
- Iterate through all feature combinations to test requirements and settings rendering.
- Enhancements - Added structured console output sections for each generated example file.
- Integrated explicit error reporting for template rendering failures.
- Bug Fixes
- (none)
Add `use_docker` and `use_vite` boolean fields to `ProjectMetadata` and include them in the metadata dictionary serialization.
- New feature: expose Docker and Vite enable flags.
- Enhancement: extend metadata output to reflect the new configuration options.
This release extends the UI to let users opt‑in to Docker support and Vite integration when generating a Django project.
- New Features
- Add `use_docker` and `use_vite` fields to `StructureOptions`
- Implement `get_docker_choice` method with a confirmation prompt- Enhancements
- Propagate Docker and Vite selections through metadata and CLI prompts - Include Dockerfile and docker‑compose when Docker is enabled
- Bug Fixes - (none)
The new templates provide a ready‑to‑use Docker environment for Django projects, including system dependencies, container orchestration, and build‑context exclusions.
New Features
- Dockerfile template with Python 3.13‑slim base, environment variables, apt dependencies, and Gunicorn command.
- docker-compose.yml template with web service and conditional database services (PostgreSQL or MySQL).
- .dockerignore template to exclude irrelevant files and speed up Docker builds.
Enhancements
- Updated .gitignore with Docker‑specific entries to keep repositories clean.
No Bug Fixes.
Adds creation of Dockerfile, docker-compose.yml, and .dockerignore when `use_docker` metadata is true, integrates the step into the setup pipeline, and registers the task in `SetupCreator`. Enables out‑of‑the‑box Docker support for generated Django projects.
New Features
- Generate Dockerfile, docker-compose.yml, and .dockerignore from templates upon project creation.
- Register Docker file creation step in the setup pipeline and execute only when `use_docker=True`.
- Extend metadata config with `use_docker` flag to control Docker file inclusion.
Enhancements
- Streamline Docker file generation through templated rendering, ensuring a consistent project structure.
Bug Fixes
- None.