diff options
| author | cguardia <carlos.delaguardia@gmail.com> | 2011-05-05 22:56:14 -0500 |
|---|---|---|
| committer | cguardia <carlos.delaguardia@gmail.com> | 2011-05-05 22:56:14 -0500 |
| commit | c74ff77ab9ddeb0fa8387524ce916f4eca7edcd8 (patch) | |
| tree | 47fa5b57f3cb4f3c63c6e0521ccb7dde6600893e | |
| parent | e409c197bff937ca1fbd3c8a19f645432dc1b239 (diff) | |
| download | pyramid-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.py | 4 |
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) |
