summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-01-20 16:46:12 -0500
committerChris McDonough <chrism@plope.com>2011-01-20 16:46:12 -0500
commit6e24772394456391fa2bd247653c20d21a47a316 (patch)
tree861266fce1f2f876e802c8926b234d0e588d0669
parentde7b17b6f6b72d4db73bc19aa403f150536c1a6b (diff)
downloadpyramid-6e24772394456391fa2bd247653c20d21a47a316.tar.gz
pyramid-6e24772394456391fa2bd247653c20d21a47a316.tar.bz2
pyramid-6e24772394456391fa2bd247653c20d21a47a316.zip
configure tm in production.ini with default_commit_veto
-rw-r--r--pyramid/paster_templates/alchemy/production.ini_tmpl6
-rw-r--r--pyramid/paster_templates/routesalchemy/production.ini_tmpl6
-rw-r--r--pyramid/paster_templates/zodb/production.ini_tmpl6
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]