diff options
| author | Chris McDonough <chrism@plope.com> | 2010-10-28 22:40:16 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-10-28 22:40:16 -0400 |
| commit | 04ebd572a92f6681209c70c42192775c63cd16cd (patch) | |
| tree | cc4d492b9b8eba207d3fd8309846d16495f52423 /docs/api/request.rst | |
| parent | 96820957ac659d51d79b1b30c296f98c086ee878 (diff) | |
| download | pyramid-04ebd572a92f6681209c70c42192775c63cd16cd.tar.gz pyramid-04ebd572a92f6681209c70c42192775c63cd16cd.tar.bz2 pyramid-04ebd572a92f6681209c70c42192775c63cd16cd.zip | |
sessioning docs
Diffstat (limited to 'docs/api/request.rst')
| -rw-r--r-- | docs/api/request.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/api/request.rst b/docs/api/request.rst index e53028b0f..9e851ba8d 100644 --- a/docs/api/request.rst +++ b/docs/api/request.rst @@ -85,3 +85,11 @@ of ``request.exception`` will be ``None`` within response and finished callbacks. + .. attribute:: session + + If a :term:`session factory` has been configured, this attribute + will represent the current user's :term:`session` object. If a + session factory *has not* been configured, requesting the + ``request.session`` attribute will cause a + :class:`pyramid.exceptions.ConfigurationError` to be raised. + |
