qmsk_www/settings/development.py
author Tero Marttila <terom@qmsk.net>
Mon, 03 Jul 2017 22:42:35 +0300
changeset 251 f59ab9a1d760
parent 235 2fb2928eed8c
permissions -rw-r--r--
default STATIC_ROOT at ./var/static
# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

TEMPLATE_DEBUG = True

ALLOWED_HOSTS = []

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '&e#@fir!k-*w(=0$@j&0guyv8qq*mh7_55j6w@2=hm0x9^ya-2'

## Database
# https://docs.djangoproject.com/en/1.7/ref/settings/#databases
DATABASES = {

}

## Logging
LOGGING = {
    'version': 1,
    'disable_existing_loggers': False,
    'formatters': {
        'qmsk': {
            'format': '[%(levelname)5s] %(module)20s:%(funcName)-20s : %(message)s',
        },
    },
    'handlers': {
        'console': {
            'level':        'DEBUG',
            'class':        'logging.StreamHandler',
            'formatter':    'qmsk',
        },
    },
    'loggers': {
        'qmsk_www_pages': {
            'handlers': [ 'console' ],
            'level': 'INFO',
        }
    },
}