diff options
| author | Michael Merickel <michael@merickel.org> | 2016-02-14 17:47:48 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2016-02-14 17:47:48 -0600 |
| commit | 00b2c691f88fcf42dfc81222aed939833f7f1f05 (patch) | |
| tree | ae8970a9147d8b4be83c1e7cb9f5f71220a168a2 /docs/tutorials/wiki2/src/authentication/development.ini | |
| parent | da5ebc28c38ea32ad99389b5bc23e2f847af8047 (diff) | |
| download | pyramid-00b2c691f88fcf42dfc81222aed939833f7f1f05.tar.gz pyramid-00b2c691f88fcf42dfc81222aed939833f7f1f05.tar.bz2 pyramid-00b2c691f88fcf42dfc81222aed939833f7f1f05.zip | |
implement the authentication example code
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 |
