Restructure to enable use of modules for different components of pgAdmin.

This commit is contained in:
Dave Page
2014-12-18 17:49:09 +00:00
parent 255d6c1437
commit b9bf6d9aa3
6 changed files with 130 additions and 65 deletions

View File

@@ -31,12 +31,16 @@ APP_SUFFIX = 'dev'
# The application version string, constructed from the components
APP_VERSION = '%s.%s.%s-%s' % (APP_MAJOR, APP_MINOR, APP_REVISION, APP_SUFFIX)
# DO NOT CHANGE!
# List of modules to enable
MODULES = [ 'utils' ]
##########################################################################
# Log settings
##########################################################################
# Debug mode?
DEBUG = True
DEBUG = False
# Application log level - one of:
# CRITICAL 50
@@ -47,7 +51,7 @@ DEBUG = True
# DEBUG 10
# NOTSET 0
CONSOLE_LOG_LEVEL = WARNING
FILE_LOG_LEVEL = DEBUG
FILE_LOG_LEVEL = INFO
# Log format.
CONSOLE_LOG_FORMAT='%(asctime)s: %(levelname)s\t%(name)s:\t%(message)s'