Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (23 sloc) 669 Bytes
from os import path
# tornado specific
settings = dict(
users = {},
blog_admin = None,
dbposts = None, # BAD! Stores in MEMORY
dbpaste = None, # BAD! Stores in MEMORY
dbpages = None, # BAD! Stores in MEMORY
port = 6488,
login_url="/auth",
static_path = path.join(path.dirname(__file__), "static"),
template_path = path.join(path.dirname(__file__), "templates"),
cookie_secret = None, # set in settings_local.settings
debug = False,
debug_pdb = False,
page_edit_passwd = 'CHANGE THIS',
tmpdown = '/tmp',
)
try:
from settings_local import settings as sl
settings.update(sl)
except:
pass