summaryrefslogtreecommitdiff
path: root/docs/narr/sessions.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/narr/sessions.rst')
-rw-r--r--docs/narr/sessions.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/sessions.rst b/docs/narr/sessions.rst
index eea035975..8547a92cc 100644
--- a/docs/narr/sessions.rst
+++ b/docs/narr/sessions.rst
@@ -35,7 +35,7 @@ tampered with.
You can configure this session factory in your :app:`Pyramid`
application by using the ``session_factory`` argument to the
-:class:`pyramid.configuration.Configurator` class:
+:class:`pyramid.config.Configurator` class:
.. code-block:: python
:linenos:
@@ -43,7 +43,7 @@ application by using the ``session_factory`` argument to the
from pyramid.session import UnencryptedCookieSessionFactoryConfig
my_session_factory = UnencryptedCookieSessionFactoryConfig('itsaseekreet')
- from pyramid.configuration import Configurator
+ from pyramid.config import Configurator
config = Configurator(session_factory = my_session_factory)
.. warning::