Merge "pecantest: remove useless config.py"
This commit is contained in:
commit
e3b324e1e4
@ -1,45 +0,0 @@
|
|||||||
# Server Specific Configurations
|
|
||||||
server = {
|
|
||||||
'port': '8080',
|
|
||||||
'host': '0.0.0.0'
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pecan Application Configurations
|
|
||||||
app = {
|
|
||||||
'root': 'test.controllers.root.RootController',
|
|
||||||
'modules': ['test'],
|
|
||||||
'static_root': '%(confdir)s/public',
|
|
||||||
'template_path': '%(confdir)s/test/templates',
|
|
||||||
'debug': True,
|
|
||||||
'errors': {
|
|
||||||
404: '/error/404',
|
|
||||||
'__force_dict__': True
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
logging = {
|
|
||||||
'loggers': {
|
|
||||||
'root' : {'level': 'INFO', 'handlers': ['console']},
|
|
||||||
'test': {'level': 'DEBUG', 'handlers': ['console']}
|
|
||||||
},
|
|
||||||
'handlers': {
|
|
||||||
'console': {
|
|
||||||
'level': 'DEBUG',
|
|
||||||
'class': 'logging.StreamHandler',
|
|
||||||
'formatter': 'simple'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
'formatters': {
|
|
||||||
'simple': {
|
|
||||||
'format': ('%(asctime)s %(levelname)-5.5s [%(name)s]'
|
|
||||||
'[%(threadName)s] %(message)s')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Custom Configurations must be in Python dictionary format::
|
|
||||||
#
|
|
||||||
# foo = {'bar':'baz'}
|
|
||||||
#
|
|
||||||
# All configurations are accessible at::
|
|
||||||
# pecan.conf
|
|
Loading…
x
Reference in New Issue
Block a user