From d06cfb3fb19743e9b49534f5d94c0e4568dd6566 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Wed, 7 Jan 2009 00:25:08 +0000 Subject: Add repoze.tm2 to setup.py / INI file, so changes get saved. --- repoze/bfg/paster_templates/zodb/+project+.ini_tmpl | 7 ++++++- repoze/bfg/paster_templates/zodb/setup.py_tmpl | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/repoze/bfg/paster_templates/zodb/+project+.ini_tmpl b/repoze/bfg/paster_templates/zodb/+project+.ini_tmpl index 93689b4e8..70f69322d 100644 --- a/repoze/bfg/paster_templates/zodb/+project+.ini_tmpl +++ b/repoze/bfg/paster_templates/zodb/+project+.ini_tmpl @@ -1,13 +1,18 @@ [DEFAULT] debug = true -[app:main] +[app:zodb] use = egg:{{project}}#app reload_templates = true debug_authorization = false debug_notfound = false zodb_uri = file://%(here)s/Data.fs?connection_cache_size=20000 +[pipeline:main] +pipeline = + egg:repoze.tm2#tm + zodb + [server:main] use = egg:Paste#http host = 0.0.0.0 diff --git a/repoze/bfg/paster_templates/zodb/setup.py_tmpl b/repoze/bfg/paster_templates/zodb/setup.py_tmpl index b4308c301..dd2665e20 100644 --- a/repoze/bfg/paster_templates/zodb/setup.py_tmpl +++ b/repoze/bfg/paster_templates/zodb/setup.py_tmpl @@ -32,6 +32,7 @@ setup(name='{{project}}', install_requires=[ 'repoze.bfg', 'repoze.zodbconn', + 'repoze.tm2', 'ZODB3', ], tests_require=[ -- cgit v1.2.3