diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-01-18 14:53:05 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-01-18 14:53:05 -0800 |
| commit | 5cf8c3677454303bf4e1acecf4c16809edde2a75 (patch) | |
| tree | 1a2d94d9e808f032cb08fec6b2c78f1be299b051 /docs/quick_tour/package/development.ini | |
| parent | 1a75e54d8619eb54760276307f28b6d91ae157b5 (diff) | |
| download | pyramid-5cf8c3677454303bf4e1acecf4c16809edde2a75.tar.gz pyramid-5cf8c3677454303bf4e1acecf4c16809edde2a75.tar.bz2 pyramid-5cf8c3677454303bf4e1acecf4c16809edde2a75.zip | |
overhaul quick_tour from Quick project startup with scaffolds to Sessions with updated pyramid_jinja2 scaffold
Diffstat (limited to 'docs/quick_tour/package/development.ini')
| -rw-r--r-- | docs/quick_tour/package/development.ini | 63 |
1 files changed, 35 insertions, 28 deletions
diff --git a/docs/quick_tour/package/development.ini b/docs/quick_tour/package/development.ini index a3a73e885..20f9817a9 100644 --- a/docs/quick_tour/package/development.ini +++ b/docs/quick_tour/package/development.ini @@ -1,37 +1,41 @@ -# Start Includes -[app:hello_world] -pyramid.includes = pyramid_debugtoolbar -# End Includes +### +# app configuration +# http://docs.pylonsproject.org/projects/pyramid/en/1.6-branch/narr/environment.html +### + +[app:main] use = egg:hello_world -reload_templates = true -debug_authorization = false -debug_notfound = false -debug_routematch = false -debug_templates = true -default_locale_name = en -jinja2.directories = hello_world:templates - -[pipeline:main] -pipeline = - hello_world + +pyramid.reload_templates = true +pyramid.debug_authorization = false +pyramid.debug_notfound = false +pyramid.debug_routematch = false +pyramid.debug_templates = true +pyramid.default_locale_name = en +pyramid.includes = + pyramid_debugtoolbar + +# 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:pyramid#wsgiref -host = 0.0.0.0 +use = egg:waitress#main +host = 127.0.0.1 port = 6543 -# Begin logging configuration +### +# logging configuration +# http://docs.pylonsproject.org/projects/pyramid/en/1.6-branch/narr/logging.html +### -# Start Sphinx Include [loggers] keys = root, hello_world -[logger_hello_world] -level = DEBUG -handlers = -qualname = hello_world -# End Sphinx Include - [handlers] keys = console @@ -42,6 +46,11 @@ keys = generic level = INFO handlers = console +[logger_hello_world] +level = DEBUG +handlers = +qualname = hello_world + [handler_console] class = StreamHandler args = (sys.stderr,) @@ -49,6 +58,4 @@ level = NOTSET formatter = generic [formatter_generic] -format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s - -# End logging configuration +format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s |
