Chris McDonough
2011-08-31 49f0829352e52ee3ef7643905e534207210204f6
refs
author Chris McDonough <chrism@plope.com>
Wednesday, August 31, 2011 09:48 +0200
committer Chris McDonough <chrism@plope.com>
Wednesday, August 31, 2011 09:48 +0200
commit49f0829352e52ee3ef7643905e534207210204f6
tree 033dbfb296b9f78a65aee6e6d0c10c88f0669e32 tree | zip | gz
parent 1aeae3565e07b99e737e6572ac5ba1b1bbf42abb view | diff
- 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.
11 files modified
3154 ■■■■ changed files
CHANGES.txt 6 ●●●●● diff | view | raw | blame | history
TODO.txt 21 ●●●●● diff | view | raw | blame | history
docs/whatsnew-1.2.rst 6 ●●●●● diff | view | raw | blame | history
pyramid/config/routes.py 14 ●●●●● diff | view | raw | blame | history
pyramid/config/util.py 18 ●●●● diff | view | raw | blame | history
pyramid/config/views.py 21 ●●●● diff | view | raw | blame | history
pyramid/tests/test_config/pkgs/asset/__init__.py 11 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_config/test_init.py 1504 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_config/test_tweens.py 164 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_config/test_util.py 20 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_config/test_views.py 1369 ●●●●● diff | view | raw | blame | history