diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-07-24 08:32:21 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-07-24 08:32:21 +0000 |
| commit | 2eb64f7a8bc7830667c3cb924bb5c13be3859b38 (patch) | |
| tree | 948d9de136078a1cb56be1c874aa0b2ca82d1115 /docs/whatsnew-1.3.rst | |
| parent | af7a1d9a699f8fafba717244641de5de7cab77e8 (diff) | |
| download | pyramid-2eb64f7a8bc7830667c3cb924bb5c13be3859b38.tar.gz pyramid-2eb64f7a8bc7830667c3cb924bb5c13be3859b38.tar.bz2 pyramid-2eb64f7a8bc7830667c3cb924bb5c13be3859b38.zip | |
Remove match_val feature: it's a pretty nuisance
Diffstat (limited to 'docs/whatsnew-1.3.rst')
| -rw-r--r-- | docs/whatsnew-1.3.rst | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/docs/whatsnew-1.3.rst b/docs/whatsnew-1.3.rst index f55ac88a6..48fe8f4f0 100644 --- a/docs/whatsnew-1.3.rst +++ b/docs/whatsnew-1.3.rst @@ -158,18 +158,6 @@ Minor Feature Additions media package-internal and served by the development webserver during development. -- A new :ref:`view predicate` was added named ``match_val``. The - ``match_val`` value represents the presence of a value in the - structure added to the request named ``matchdict`` during :term:`URL - dispatch` representing the match values from the route pattern - (e.g. if the route pattern has ``:foo`` in it, and the route - matches, a key will exist in the matchdict named ``foo``). Like all - other view predicates, this feature is exposed via the - :class:`repoze.bfg.view.bfg_view` API, the - :class:`repoze.bfg.configuration.Configurator.add_view` API, and the - ZCML :ref:`view_directive` directive. See the documentation for - those APIs for more inforamtion. - - New argument to :class:`repoze.bfg.configuration.Configurator.add_route` and the ZCML ``route`` directive: ``traverse``. If you would like to cause @@ -182,6 +170,13 @@ Minor Feature Additions :class:`repoze.bfg.configuration.Configurator.add_route` for more information (the ``traverse`` argument). +- A new method of the ``Configurator`` exists: + ``set_request_factory``. If used, this method will set the factory + used by the :mod:`repoze.bfg` router to create all request objects. + The ``Configurator`` constructor also takes an additional argument: + ``request_factory``. If used, this argument will set the factory + used by the :mod:`repoze.bfg` router to create all request objects. + Backwards Incompatibilities --------------------------- @@ -248,6 +243,9 @@ Documentation Enhancements changed to demonstrate authorization via a group rather than via a direct username. +- The :ref:`hooks_chapter` chapter now contains a section about + changing the request factory. + Licensing Changes ----------------- |
