diff options
| -rw-r--r-- | pyramid/paster_templates/alchemy/production.ini_tmpl | 6 | ||||
| -rw-r--r-- | pyramid/paster_templates/routesalchemy/production.ini_tmpl | 6 | ||||
| -rw-r--r-- | pyramid/paster_templates/zodb/production.ini_tmpl | 6 |
3 files changed, 15 insertions, 3 deletions
diff --git a/pyramid/paster_templates/alchemy/production.ini_tmpl b/pyramid/paster_templates/alchemy/production.ini_tmpl index 1d21304db..7f1332310 100644 --- a/pyramid/paster_templates/alchemy/production.ini_tmpl +++ b/pyramid/paster_templates/alchemy/production.ini_tmpl @@ -22,10 +22,14 @@ debug = false ;smtp_use_tls = ;error_message = +[filter:tm] +use = egg:repoze.tm2#tm +commit_veto = repoze.tm:default_commit_veto + [pipeline:main] pipeline = weberror - egg:repoze.tm2#tm + tm {{project}} [server:main] diff --git a/pyramid/paster_templates/routesalchemy/production.ini_tmpl b/pyramid/paster_templates/routesalchemy/production.ini_tmpl index 1d21304db..7f1332310 100644 --- a/pyramid/paster_templates/routesalchemy/production.ini_tmpl +++ b/pyramid/paster_templates/routesalchemy/production.ini_tmpl @@ -22,10 +22,14 @@ debug = false ;smtp_use_tls = ;error_message = +[filter:tm] +use = egg:repoze.tm2#tm +commit_veto = repoze.tm:default_commit_veto + [pipeline:main] pipeline = weberror - egg:repoze.tm2#tm + tm {{project}} [server:main] diff --git a/pyramid/paster_templates/zodb/production.ini_tmpl b/pyramid/paster_templates/zodb/production.ini_tmpl index 1741763ae..93aeee358 100644 --- a/pyramid/paster_templates/zodb/production.ini_tmpl +++ b/pyramid/paster_templates/zodb/production.ini_tmpl @@ -22,11 +22,15 @@ debug = false ;smtp_use_tls = ;error_message = +[filter:tm] +use = egg:repoze.tm2#tm +commit_veto = repoze.tm:default_commit_veto + [pipeline:main] pipeline = weberror egg:repoze.zodbconn#closer - egg:repoze.tm#tm + tm {{project}} [server:main] |
