This project offers a modern structure for Django projects. It is based on the following principles:
- Fast start: A new Structured project goes beyond Django to provide everything you need to skip tedious project configuration and start writing your app immediately.
- Best practices: Django projects have common patterns, and common pitfalls. Structured aims to help you keep best practices from the start.
- Discoverability: Structured wants your life to be easy, and part of that is not hunting for things you know (or don't know) exist.
- Flexibility: Structured tries to use sensible defaults, but every project is different.
Structured supports Django 3.2, 4.2, and 5.0.
This project is not yet suitable for use, though you can certainly download, install, and play with it at your own risk.
Current progress toward a 1.0:
- Basic CLI interface
- Custom django project and app templates
- ... for different versions of django
- ... with templating
- ... and feature options
- Actual ability to create new projects
- Actual ability to create new apps
- Business logic package
- Automagic models package
Post-1.0 targets:
- Actual ability to create new projects
- Pip support
- Poetry support
- Pipenv support
- Docker support
- VSCode support
- Pytest support
- DRF support
- drf-spectacular (or some sort of openapi) support
- Sentry support
- Actual ability to create new apps
- Optional migrations directory
- DRF support
- Manifesto on Django best practices based on my personal experience over the years?