Unverified Commit b71c31d9 authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Clarify some things about settings with some comments

parent aae44beb
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 settings.py.
This file is loaded by __init__.py if the environment variable
See https://docs.djangoproject.com/en/dev/howto/deployment/checklist/
Django settings for thaliawebsite project.
Generated by 'django-admin startproject' using Django 1.10b1.
This file is loaded by __init__.py.
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 __init__.py 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