Commit f83edfd9 authored by Joost Rijneveld's avatar Joost Rijneveld
Browse files

Merge branch 'doc/settings' into 'master'

Clarify some things about settings with some comments

See merge request !315
parents aae44beb b71c31d9
Settings module
This file controls what settings are loaded.
Using environment variables you can control the loading of various
# flake8: noqa
import os
# Load base settings
from .settings import *
# Attempt to load local overrides
from .localsettings import *
except ImportError:
if os.environ.get('DJANGO_PRODUCTION'):
# Load production settings if DJANGO_PRODUCTION is set
if os.environ.get('DJANGO_PRODUCTION'): # pragma: nocover
from .production import *
if os.environ.get('GITLAB_CI'):
# Load testing settings if GITLAB_CI is set
if os.environ.get('GITLAB_CI'): # pragma: nocover
from .testing import *
Django settings for thaliawebsite project.
Django production settings for thaliawebsite project.
Docker version
Many of these settings override settings from
This file is loaded by if the environment variable
Django settings for thaliawebsite project.
Generated by 'django-admin startproject' using Django 1.10b1.
This file is loaded by
Its settings may be overridden by files loaded after it.
For more information on this file, see
Settings for CI testing
This file is loaded by if GITLAB_CI is set in the environment
'default': {
'ENGINE': 'django.db.backends.postgresql',
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment