diff options
| author | Chris McDonough <chrism@plope.com> | 2010-11-04 14:16:04 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-11-04 14:16:04 -0400 |
| commit | a3dc1324713840a0b153ad0522a2f0c3a829c411 (patch) | |
| tree | 939b141a3605f7208bf9ab85a71be15fa98c9150 /docs/tutorials | |
| parent | 093628449ad6d1a14c93a9e6c5a05fdfec2f4816 (diff) | |
| download | pyramid-a3dc1324713840a0b153ad0522a2f0c3a829c411.tar.gz pyramid-a3dc1324713840a0b153ad0522a2f0c3a829c411.tar.bz2 pyramid-a3dc1324713840a0b153ad0522a2f0c3a829c411.zip | |
- The ``request_type`` argument to the ``view`` ZCML directive, the
``pyramid.configuration.Configurator.add_view`` method, or the
``pyramid.view.view_config`` decorator (nee ``bfg_view``) is no longer
permitted to be one of the strings ``GET``, ``HEAD``, ``PUT``, ``POST`` or
``DELETE``, and now must always be an interface. Accepting the
method-strings as ``request_type`` was a backwards compatibility strategy
servicing repoze.bfg 1.0 applications. Use the ``request_method``
parameter instead to specify that a view a string request-method predicate.
Diffstat (limited to 'docs/tutorials')
0 files changed, 0 insertions, 0 deletions
