
A Django project template with automation
This article is about a Django project template that is heavily inspired by Cookiecutter's Django template. The template provides several features to manage the development environment, ensure code quality, type-checking, and formatting, as well as following the 12-factor-app guidelines. It also utilizes PostgreSQL for the database, Redis for caching, and browser_app for project-specific code organization.
This article introduces a Django project template that is inspired by Cookiecutter's Django template. It provides various features such as development environment management with docker-compose, code quality assurance with pre-commit, type-checking with mypy, code formatting with black, and consistent editing experience with EditorConfig. The template follows the 12-factor-app guidelines, uses PostgreSQL as the database, Redis for caching, and browser_app for project-specific code organization, eliminating the need for global static and templates directories. The installation guide provides step-by-step instructions to set up the template and start the development server.
