move to Pylons 0.9.7 and related packages
This commit is contained in:
parent
787f6050d4
commit
30b74165c6
28 changed files with 199 additions and 173 deletions
|
|
@ -12,12 +12,14 @@ error_email_from = paste@localhost
|
|||
|
||||
[server:main]
|
||||
use = egg:Paste#http
|
||||
host = 0.0.0.0
|
||||
host = 127.0.0.1
|
||||
port = 5000
|
||||
|
||||
[app:main]
|
||||
use = egg:pyalchemybiz
|
||||
full_stack = true
|
||||
static_files = true
|
||||
|
||||
cache_dir = %(here)s/data
|
||||
beaker.session.key = pyalchemybiz
|
||||
beaker.session.secret = somesecret
|
||||
|
|
@ -28,26 +30,24 @@ beaker.session.secret = somesecret
|
|||
#beaker.cache.data_dir = %(here)s/data/cache
|
||||
#beaker.session.data_dir = %(here)s/data/sessions
|
||||
|
||||
# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
|
||||
# Debug mode will enable the interactive debugging tool, allowing ANYONE to
|
||||
# execute malicious code after an exception is raised.
|
||||
#set debug = false
|
||||
|
||||
# Specify the database for SQLAlchemy to use.
|
||||
# %(here)s may include a ':' character on Windows environments; this can
|
||||
# invalidate the URI when specifying a SQLite db via path name
|
||||
sqlalchemy.default.url = sqlite:///%(here)s/pyalchemybiz.db
|
||||
sqlalchemy.default.echo = true
|
||||
# SQLAlchemy database URL
|
||||
sqlalchemy.url = sqlite:///%(here)s/development.db
|
||||
sqlalchemy.echo = true
|
||||
sqlalchemy.convert_unicode = true
|
||||
|
||||
# settings for sqlalchemy-migrate
|
||||
migrate.repo.version = 2
|
||||
migrate.repo.dir = %(here)s/data/dbrepo
|
||||
|
||||
# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
|
||||
# Debug mode will enable the interactive debugging tool, allowing ANYONE to
|
||||
# execute malicious code after an exception is raised.
|
||||
#set debug = false
|
||||
|
||||
|
||||
# Logging configuration
|
||||
[loggers]
|
||||
keys = root, pyalchemybiz
|
||||
keys = root, routes, pyalchemybiz, sqlalchemy
|
||||
|
||||
[handlers]
|
||||
keys = console
|
||||
|
|
@ -59,11 +59,25 @@ keys = generic
|
|||
level = INFO
|
||||
handlers = console
|
||||
|
||||
[logger_routes]
|
||||
level = INFO
|
||||
handlers =
|
||||
qualname = routes.middleware
|
||||
# "level = DEBUG" logs the route matched and routing variables.
|
||||
|
||||
[logger_pyalchemybiz]
|
||||
level = DEBUG
|
||||
handlers =
|
||||
qualname = pyalchemybiz
|
||||
|
||||
[logger_sqlalchemy]
|
||||
level = INFO
|
||||
handlers =
|
||||
qualname = sqlalchemy.engine
|
||||
# "level = INFO" logs SQL queries.
|
||||
# "level = DEBUG" logs SQL queries and results.
|
||||
# "level = WARN" logs neither. (Recommended for production systems.)
|
||||
|
||||
[handler_console]
|
||||
class = StreamHandler
|
||||
args = (sys.stderr,)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue