A highly opinionated starter project which I use as a scaffold for all my Django projects.
- Python 3.10, Django 4.1 and Django REST Framework 3.14.0
poetryfor managing dependenciespostgresas a databaseredisas cache and message queuedockerfor development, testing, and productionceleryfor asynchronous tasksblackandisortfor neat code formattingpytestandmimesisfor testingdjango-debug-toolbarfor debuggingdjango-filterfor easy filtering
No one forcing you to use any of these things, so if you don't need something then just don't use it.
You never know how your next project will look like, so there are no:
- Templates
- Forms
- Views
- Models (although there is a
TimestampMixinmodel which is commonly used in every projects)
You have to add all these things yourself, according to your needs.
- Avoid duplication
- Keep your business logic in
app_name/logic/ - Always format your code using
scripts/format.sh
This template is inspired by wemake-django-template.
