diff options
| -rw-r--r-- | CHANGES.txt | 5 | ||||
| -rw-r--r-- | docs/whatsnew-1.2.rst | 5 |
2 files changed, 10 insertions, 0 deletions
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 ------------ |
