summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcguardia <carlos.delaguardia@gmail.com>2011-05-05 22:56:14 -0500
committercguardia <carlos.delaguardia@gmail.com>2011-05-05 22:56:14 -0500
commitc74ff77ab9ddeb0fa8387524ce916f4eca7edcd8 (patch)
tree47fa5b57f3cb4f3c63c6e0521ccb7dde6600893e
parente409c197bff937ca1fbd3c8a19f645432dc1b239 (diff)
downloadpyramid-c74ff77ab9ddeb0fa8387524ce916f4eca7edcd8.tar.gz
pyramid-c74ff77ab9ddeb0fa8387524ce916f4eca7edcd8.tar.bz2
pyramid-c74ff77ab9ddeb0fa8387524ce916f4eca7edcd8.zip
added note about constructor argument for same purpose, for uniformity
-rw-r--r--pyramid/config.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyramid/config.py b/pyramid/config.py
index 23dba7c84..602a5b60f 100644
--- a/pyramid/config.py
+++ b/pyramid/config.py
@@ -2145,6 +2145,10 @@ class Configurator(object):
Configure the application with a :term:`session factory`. If
this method is called, the ``session_factory`` argument must
be a session factory callable.
+
+ .. note:: Using the ``session_factory`` argument to the
+ :class:`pyramid.config.Configurator` constructor
+ can be used to achieve the same purpose.
"""
def register():
self.registry.registerUtility(session_factory, ISessionFactory)