From eaaa8855d88eedb2ad4fef435e7473022504485e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 25 Oct 2010 21:41:46 -0400 Subject: convert more docs from bfg to pyramid --- docs/tutorials/zodbsessions/index.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/tutorials/zodbsessions') 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 `_. If you don't want to use ZODB to do sessioning, you might choose to use a relational/filestorage sessioning system such as `Beaker - `_. :mod:`repoze.bfg` is fully + `_. :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) -- cgit v1.2.3