diff options
| author | Chris McDonough <chrism@plope.com> | 2011-08-23 03:35:13 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-08-23 03:35:13 -0400 |
| commit | 141f90581ce667ff12db8ef9ccd8a6e59d07ef73 (patch) | |
| tree | a6f572c9f4b7dce76f129b649ee52d0f2b92edc7 /docs | |
| parent | 6162b6166a5723a49958c22f420e398ea72e6f95 (diff) | |
| download | pyramid-141f90581ce667ff12db8ef9ccd8a6e59d07ef73.tar.gz pyramid-141f90581ce667ff12db8ef9ccd8a6e59d07ef73.tar.bz2 pyramid-141f90581ce667ff12db8ef9ccd8a6e59d07ef73.zip | |
add changes
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/whatsnew-1.2.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/whatsnew-1.2.rst b/docs/whatsnew-1.2.rst index dee4487d3..9718a547c 100644 --- a/docs/whatsnew-1.2.rst +++ b/docs/whatsnew-1.2.rst @@ -144,6 +144,11 @@ Minor Feature Additions any of these policies. The output produced can be useful when trying to diagnose authentication-related problems. +- New view predicate: ``match_param``. Example: a view added via + ``config.add_view(aview, match_param='action=edit')`` will be called only + when the ``request.matchdict`` has a value inside it named ``action`` with + a value of ``edit``. + Deprecations ------------ |
