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.

๐Ÿ› ๏ธ github.com/adamghill/django-new
๐Ÿ“ฆ 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]
0

If you have a fediverse account, you can quote this note from your own instance. Search https://indieweb.social/users/adamghill/statuses/115636009698629235 on your instance and quote it. (Note that quoting is not supported in Mastodon.)