Skip to content
Django Best Practice: Configuring Settings File
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Django Best Practice: Configuring Settings File

Django does not provide a way to have separate configurations. All project-related configurations are put in file. There are several methods to meet the above requirements, however, my favorite one is having different local settings module and everything distinct.

You will the following for optimizing your Django Project –

  1. Separate Django Application definition – INSTALLED_APPS

  2. Separate Django Database Local Settings

  3. Change Django Template Paths Directory

  4. Add Static and Media Paths

You can’t perform that action at this time.