More basic setup.

This commit is contained in:
Dave Page 2014-12-16 17:37:53 +00:00
parent ba939f27d7
commit a1a6e5356f
2 changed files with 14 additions and 0 deletions

0
web/app/__init__.py Normal file
View File

View File

@ -15,6 +15,9 @@ from logging import *
# Log settings
##########################################################################
# Debug mode?
DEBUG = true
# Application log level - one of:
# CRITICAL 50
# ERROR 40
@ -41,6 +44,17 @@ LOG_FILE = 'pgadmin4.log'
# environment by the runtime
DEFAULT_SERVER_PORT = 5050
# Enable CSRF protection?
CSRF_ENABLED = True
# Secret key for signing CSRF data. Override this in config_local.py if
# running on a web server
CSRF_SESSION_KEY = 'SuperSecret'
# Secret key for signing cookies. Override this in config_local.py if
# running on a web server
SECRET_KEY = 'SuperSecret'
##########################################################################
# Local config settings
##########################################################################