diff options
| author | Chris McDonough <chrism@plope.com> | 2011-08-31 03:48:02 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-08-31 03:48:02 -0400 |
| commit | 49f0829352e52ee3ef7643905e534207210204f6 (patch) | |
| tree | 033dbfb296b9f78a65aee6e6d0c10c88f0669e32 /docs/whatsnew-1.2.rst | |
| parent | 1aeae3565e07b99e737e6572ac5ba1b1bbf42abb (diff) | |
| download | pyramid-49f0829352e52ee3ef7643905e534207210204f6.tar.gz pyramid-49f0829352e52ee3ef7643905e534207210204f6.tar.bz2 pyramid-49f0829352e52ee3ef7643905e534207210204f6.zip | |
- The ``request_method`` predicate argument to
``pyramid.config.Configurator.add_view`` and
``pyramid.config.Configurator.add_route`` is now permitted to be a tuple of
HTTP method names. Previously it was restricted to being a string
representing a single HTTP method name.
- Move add_view tests and tween tests to more reasonable places.
Diffstat (limited to 'docs/whatsnew-1.2.rst')
| -rw-r--r-- | docs/whatsnew-1.2.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/whatsnew-1.2.rst b/docs/whatsnew-1.2.rst index 1ecf1d746..4147b4285 100644 --- a/docs/whatsnew-1.2.rst +++ b/docs/whatsnew-1.2.rst @@ -154,6 +154,12 @@ Minor Feature Additions :meth:`venusian.Scanner.scan` to influence error behavior when an exception is raised during scanning. +- The ``request_method`` predicate argument to + :meth:`pyramid.config.Configurator.add_view` and + :meth:`pyramid.config.Configurator.add_route` is now permitted to be a + tuple of HTTP method names. Previously it was restricted to being a string + representing a single HTTP method name. + Deprecations ------------ |
