summaryrefslogtreecommitdiff
path: root/docs/whatsnew-1.3.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2011-12-30 02:32:54 -0600
committerMichael Merickel <michael@merickel.org>2011-12-30 02:32:54 -0600
commitb73edc8a1b99dd513cfe82c045f3e6bb502f4c69 (patch)
tree765a72d888876da53b3ae283184846ce418f586d /docs/whatsnew-1.3.rst
parentd16bddbd55a05bd0bd3414b4de90de198844dc4f (diff)
downloadpyramid-b73edc8a1b99dd513cfe82c045f3e6bb502f4c69.tar.gz
pyramid-b73edc8a1b99dd513cfe82c045f3e6bb502f4c69.tar.bz2
pyramid-b73edc8a1b99dd513cfe82c045f3e6bb502f4c69.zip
Updated the changelog for Request.set_property.
Diffstat (limited to 'docs/whatsnew-1.3.rst')
-rw-r--r--docs/whatsnew-1.3.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/whatsnew-1.3.rst b/docs/whatsnew-1.3.rst
index b61893536..acbaa1335 100644
--- a/docs/whatsnew-1.3.rst
+++ b/docs/whatsnew-1.3.rst
@@ -206,6 +206,16 @@ This also works for imperative view configurations that involve a class.
See :ref:`view_defaults` for more information.
+Extending a Request without Subclassing
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+It is now possible to extend a :class:`pyramid.request.Request` object
+with property descriptors without having to create a subclass via
+:meth:`pyramid.request.Request.set_property`. New properties may be
+reified, effectively caching the value for the lifetime of the instance.
+Common use-cases for this would be to get a database connection for the
+request or identify the current user.
+
Minor Feature Additions
-----------------------