Mercurial > kallithea
comparison development.ini @ 7737:cbdc0c3a5406
config: change default .ini to always include trace_errors settings and thus avoid deprecation warnings
Gets rid of:
data/env/lib/python2.7/site-packages/tg/configuration/app_config.py:473
data/env/lib/python2.7/site-packages/tg/configuration/app_config.py:473: DeprecationWarning: direct usage of error tracing options has been deprecated, please specify them as trace_errors.option_name instad of directly setting option_name. EXAMPLE: trace_errors.error_email
"setting option_name. EXAMPLE: trace_errors.error_email", DeprecationWarning)
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 07 Jun 2019 03:37:07 +0200 |
parents | 0e3e0864f210 |
children | bbf7be28a11e |
comparison
equal
deleted
inserted
replaced
7736:b0ed41df0282 | 7737:cbdc0c3a5406 |
---|---|
301 ## Database storage of session data. | 301 ## Database storage of session data. |
302 #beaker.session.type = ext:database | 302 #beaker.session.type = ext:database |
303 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/kallithea | 303 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/kallithea |
304 #beaker.session.table_name = db_session | 304 #beaker.session.table_name = db_session |
305 | 305 |
306 ############################ | |
307 ## ERROR HANDLING SYSTEMS ## | |
308 ############################ | |
309 | |
310 # Propagate email settings to ErrorReporter of TurboGears2 | |
311 # You do not normally need to change these lines | |
312 get trace_errors.error_email = email_to | |
313 get trace_errors.smtp_server = smtp_server | |
314 get trace_errors.smtp_port = smtp_port | |
315 get trace_errors.from_address = error_email_from | |
316 | |
306 ################################################################################ | 317 ################################################################################ |
307 ## WARNING: *DEBUG MODE MUST BE OFF IN A PRODUCTION ENVIRONMENT* ## | 318 ## WARNING: *DEBUG MODE MUST BE OFF IN A PRODUCTION ENVIRONMENT* ## |
308 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ## | 319 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ## |
309 ## execute malicious code after an exception is raised. ## | 320 ## execute malicious code after an exception is raised. ## |
310 ################################################################################ | 321 ################################################################################ |