0.2.0 of django-new has been released. ๐
`uvx django-new [--api] [--web] [--worker] name [folder]`
- Basic project and app creation for APIs, websites, and worker use cases.
- Optionally create minimal applications similar to DEP-15 (aka, all files in one folder).
- Slightly opinionated folder structure to get you going, but no major decisions that force you into a corner.
- Only includes a few lukewarm takes.
๐ ๏ธ https://github.com/adamghill/django-new
๐ฆ https://pypi.org/project/django-new/
![django-new is designed to be used with uvx or pipx.
uvx django-new [--api] [--web] [--worker] name [folder]
django-new has some opinions about the folder structure and what files are most useful for certain use cases. For example, config is used to store "project-level" files like settings.py. The --api, --web, and --worker flags can be used as an additional modifier to create a specific type of application.
Along with the typical Django files, django-new also creates a few typically used files (if they do not already exist) when creating a new project:
- .env - Environment variables
- .gitignore - git ignore patterns
- pyproject.toml - Python project configuration (PEP 621 compliant)
- README.md - Project documentation
Create a new API
uvx django-new --api name [folder]](https://cdn.masto.host/indiewebsocial/media_attachments/files/115/636/009/438/041/957/original/d1c0d79cf775a0e4.png)