diff options
| -rw-r--r-- | repoze/bfg/paster_templates/zodb/+package+/run.py_tmpl | 1 | ||||
| -rw-r--r-- | repoze/bfg/paster_templates/zodb/+project+.ini_tmpl | 3 | ||||
| -rw-r--r-- | repoze/bfg/paster_templates/zodb/setup.py_tmpl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/repoze/bfg/paster_templates/zodb/+package+/run.py_tmpl b/repoze/bfg/paster_templates/zodb/+package+/run.py_tmpl index 176b06d51..39a9e76b1 100644 --- a/repoze/bfg/paster_templates/zodb/+package+/run.py_tmpl +++ b/repoze/bfg/paster_templates/zodb/+package+/run.py_tmpl @@ -1,6 +1,5 @@ from repoze.bfg.router import make_app as bfg_make_app from repoze.bfg.registry import get_options -from repoze.zodbconn.finder import dbfactory_from_uri from repoze.zodbconn.finder import PersistentApplicationFinder def app(global_config, **kw): diff --git a/repoze/bfg/paster_templates/zodb/+project+.ini_tmpl b/repoze/bfg/paster_templates/zodb/+project+.ini_tmpl index 70f69322d..ca6fe99a2 100644 --- a/repoze/bfg/paster_templates/zodb/+project+.ini_tmpl +++ b/repoze/bfg/paster_templates/zodb/+project+.ini_tmpl @@ -10,7 +10,8 @@ zodb_uri = file://%(here)s/Data.fs?connection_cache_size=20000 [pipeline:main] pipeline = - egg:repoze.tm2#tm + egg:repoze.zodbconn#closer + egg:repoze.tm#tm zodb [server:main] diff --git a/repoze/bfg/paster_templates/zodb/setup.py_tmpl b/repoze/bfg/paster_templates/zodb/setup.py_tmpl index dd2665e20..6fc85b716 100644 --- a/repoze/bfg/paster_templates/zodb/setup.py_tmpl +++ b/repoze/bfg/paster_templates/zodb/setup.py_tmpl @@ -32,7 +32,7 @@ setup(name='{{project}}', install_requires=[ 'repoze.bfg', 'repoze.zodbconn', - 'repoze.tm2', + 'repoze.tm', 'ZODB3', ], tests_require=[ |
