diff options
| author | Michael Merickel <michael@merickel.org> | 2016-02-29 13:02:13 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2016-02-29 13:02:13 -0600 |
| commit | 565fa59e7eab1e71ec4c4c1ee5773f2ecbf7a07f (patch) | |
| tree | 9f7098358c01622fcae8fbe8a318f6484e5d3c8b /docs/tutorials/wiki2/src/authentication/development.ini | |
| parent | cb98a90c3dcc40dc42813143a601ef631249f5f4 (diff) | |
| parent | a79bac6697fa312cd1ba0ac4e784bbc820c5e603 (diff) | |
| download | pyramid-565fa59e7eab1e71ec4c4c1ee5773f2ecbf7a07f.tar.gz pyramid-565fa59e7eab1e71ec4c4c1ee5773f2ecbf7a07f.tar.bz2 pyramid-565fa59e7eab1e71ec4c4c1ee5773f2ecbf7a07f.zip | |
Merge pull request #2024 from Pylons/feature/alchemy-scaffold-update
alchemy scaffold updates
Diffstat (limited to 'docs/tutorials/wiki2/src/authentication/development.ini')
| -rw-r--r-- | docs/tutorials/wiki2/src/authentication/development.ini | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/docs/tutorials/wiki2/src/authentication/development.ini b/docs/tutorials/wiki2/src/authentication/development.ini new file mode 100644 index 000000000..f3079727e --- /dev/null +++ b/docs/tutorials/wiki2/src/authentication/development.ini @@ -0,0 +1,73 @@ +### +# app configuration +# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html +### + +[app:main] +use = egg:tutorial + +pyramid.reload_templates = true +pyramid.debug_authorization = false +pyramid.debug_notfound = false +pyramid.debug_routematch = false +pyramid.default_locale_name = en +pyramid.includes = + pyramid_debugtoolbar + pyramid_tm + +sqlalchemy.url = sqlite:///%(here)s/tutorial.sqlite + +auth.secret = seekrit + +# By default, the toolbar only appears for clients from IP addresses +# '127.0.0.1' and '::1'. +# debugtoolbar.hosts = 127.0.0.1 ::1 + +### +# wsgi server configuration +### + +[server:main] +use = egg:waitress#main +host = 127.0.0.1 +port = 6543 + +### +# logging configuration +# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html +### + +[loggers] +keys = root, tutorial, sqlalchemy + +[handlers] +keys = console + +[formatters] +keys = generic + +[logger_root] +level = INFO +handlers = console + +[logger_tutorial] +level = DEBUG +handlers = +qualname = tutorial + +[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,) +level = NOTSET +formatter = generic + +[formatter_generic] +format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s |
