This Cookiecutter template aims to generate a Django settings directory separated for development and production environments.
Each configuration variable is commented in French to help French-speaking beginners quickly get started with their first deployment.
The following procedure will allow you to generate separate customized settings for development and production. You will need the Cookiecutter tool, which you can install beforehand using the command pip install cookiecutter. You can also use Cookiecutter without installation if you use uv by prefixing the commands with uvx.
- Open a terminal at the root of your Django project.
- Generate a settings directory using the command
cookiecutter gh:placepython/django-settings-fr - Answer the questions asked.
- Follow the instructions displayed in the terminal at the end of the installation.