From 71c1b5fd7688b52f91a9f2b8776055700bb6550d Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Thu, 5 Oct 2017 14:12:04 +0200 Subject: [PATCH] updated production.ini --- production.ini | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/production.ini b/production.ini index 0d84f38..62c7a24 100644 --- a/production.ini +++ b/production.ini @@ -11,9 +11,29 @@ pyramid.debug_authorization = false pyramid.debug_notfound = false pyramid.debug_routematch = false pyramid.default_locale_name = en +pyramid.includes = + pyramid_mailer sqlalchemy.url = sqlite:///%(here)s/ordr2.sqlite + +# email delivery +mail.host = localhost +mail.port = 2525 +mail.default_sender = ordr@example.com + + +# custom settings +auth.secret = 'Change Me 1' +session.secret = 'Change Me 2' +session.auto_csrf = true +static_views.cache_max_age = 0 + +# custom jinja filters and tests +jinja2.filters = + are_extras_active = ordr2.templates.tests:are_extras_active + + ### # wsgi server configuration ###