summaryrefslogtreecommitdiff
path: root/docs/narr/commandline.rst
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-10-05 02:38:30 -0700
committerGitHub <noreply@github.com>2018-10-05 02:38:30 -0700
commit536caa6e0306be956a0bb281b6370effc476d38d (patch)
tree1af84e37e9ad7bdb445786a0345822dcdfd851f0 /docs/narr/commandline.rst
parentf6becd23966248fb7fc4db218258be4364902f8f (diff)
parent086198b5db7dcb86c2b4edbc5d3610dcade0332a (diff)
downloadpyramid-536caa6e0306be956a0bb281b6370effc476d38d.tar.gz
pyramid-536caa6e0306be956a0bb281b6370effc476d38d.tar.bz2
pyramid-536caa6e0306be956a0bb281b6370effc476d38d.zip
Merge pull request #3346 from stloma/one_cc
updating docs for merging cookiecutters
Diffstat (limited to 'docs/narr/commandline.rst')
-rw-r--r--docs/narr/commandline.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/commandline.rst b/docs/narr/commandline.rst
index 98e34fea2..f8ca8366b 100644
--- a/docs/narr/commandline.rst
+++ b/docs/narr/commandline.rst
@@ -298,8 +298,8 @@ By defining the ``setup`` callable, we will create the module ``myapp.lib.pshell
# start a transaction which can be used in the shell
request.tm.begin()
- # if using the alchemy cookiecutter, the dbsession is connected
- # to the transaction manager above
+ # if using the SQLAlchemy backend from our cookiecutter, the dbsession is
+ # connected to the transaction manager above
env['tm'] = request.tm
env['dbsession'] = request.dbsession
try: