summaryrefslogtreecommitdiff
path: root/docs/tutorials/zodbsessions
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-10-25 21:41:46 -0400
committerChris McDonough <chrism@plope.com>2010-10-25 21:41:46 -0400
commiteaaa8855d88eedb2ad4fef435e7473022504485e (patch)
tree90a1e05181c607431935d81c5dabf7421d0969f3 /docs/tutorials/zodbsessions
parent7c697c55324a1624c013e1285734aa687964d690 (diff)
downloadpyramid-eaaa8855d88eedb2ad4fef435e7473022504485e.tar.gz
pyramid-eaaa8855d88eedb2ad4fef435e7473022504485e.tar.bz2
pyramid-eaaa8855d88eedb2ad4fef435e7473022504485e.zip
convert more docs from bfg to pyramid
Diffstat (limited to 'docs/tutorials/zodbsessions')
-rw-r--r--docs/tutorials/zodbsessions/index.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/tutorials/zodbsessions/index.rst b/docs/tutorials/zodbsessions/index.rst
index 7d94e2e08..c32b457d5 100644
--- a/docs/tutorials/zodbsessions/index.rst
+++ b/docs/tutorials/zodbsessions/index.rst
@@ -21,13 +21,13 @@ sessioning to your application.
usage documentation <http://docs.repoze.org/session/usage.html>`_.
If you don't want to use ZODB to do sessioning, you might choose to
use a relational/filestorage sessioning system such as `Beaker
- <http://pypi.python.org/pypi/Beaker>`_. :mod:`repoze.bfg` is fully
+ <http://pypi.python.org/pypi/Beaker>`_. :mod:`pyramid` is fully
compatible with this system too.
Installing Dependencies
-----------------------
-#. Edit your :mod:`repoze.bfg` application's ``setup.py`` file, adding
+#. Edit your :mod:`pyramid` application's ``setup.py`` file, adding
the following packages to the ``install_requires`` of the
application:
@@ -45,7 +45,7 @@ Installing Dependencies
setup(
# ... other elements left out for brevity
install_requires=[
- 'repoze.bfg',
+ 'pyramid',
'repoze.folder',
'repoze.retry',
'repoze.tm2',
@@ -147,7 +147,7 @@ Configuration
:linenos:
from repoze.session.manager import SessionDataManager
- from repoze.bfg.traversal import find_root
+ from pyramid.traversal import find_root
def get_session(context, request):
root = find_root(context)
@@ -167,8 +167,8 @@ Configuration
:linenos:
from repoze.session.manager import SessionDataManager
- from repoze.bfg.traversal import find_root
- from repoze.bfg.chameleon_zpt import render_template_to_response
+ from pyramid.traversal import find_root
+ from pyramid.chameleon_zpt import render_template_to_response
def my_view(context, request):
session = get_session(context, request)