Before You Start

Dependencies

This configuration uses these tools:

You can modify this setup, but I haven’t tested other configurations.

Project Settings

By default, Django projects use a single settings file. This is fine for development environments, but in production you’ll want different settings (for instance, to set Debug = False).

This template divides the project settings into three files:

  • default.py: project-wide defaults (e.g., INSTALLED_APPS).
  • development.py: development settings (e.g., Debug = True).
  • production.py: production settings (e.g., settings for a database server).

The instructions below explain how to configure your development and production environments to load the right settings files.

Table Of Contents

This Page