From 141f90581ce667ff12db8ef9ccd8a6e59d07ef73 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 23 Aug 2011 03:35:13 -0400 Subject: add changes --- CHANGES.txt | 5 +++++ docs/whatsnew-1.2.rst | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index 994d8c301..c752f8005 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -98,6 +98,11 @@ Features 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``. + Internal -------- 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 ------------ -- cgit v1.2.3