import os

root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
DB_PATH = os.path.join(root, 'mcbench.sqlite')
DATA_ROOT = os.path.expanduser('~/mcbench-benchmarks')
SECRET_KEY = ''

try:
    from local_settings import *
except ImportError:
    pass

import os

root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
DB_PATH = os.path.join(root, 'mcbench.sqlite')
DATA_ROOT = os.path.expanduser('~/mcbench-benchmarks')
SECRET_KEY = 'dummy'

try:
    from local_settings import *
except ImportError:
    pass

Add dummy SECRET_KEY for development (and Travis).