diff options
| author | Chris McDonough <chrism@plope.com> | 2012-09-09 23:01:06 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-09-09 23:01:06 -0400 |
| commit | 023c88b67b907dd3682ef71216245609c9bbdbe1 (patch) | |
| tree | 5636c1870e89c07ed64c12c8a0271e7cc64aaeb1 /CHANGES.txt | |
| parent | cf3d1ef2da328356b88f2d5a1015c0b211dc1e1c (diff) | |
| download | pyramid-023c88b67b907dd3682ef71216245609c9bbdbe1.tar.gz pyramid-023c88b67b907dd3682ef71216245609c9bbdbe1.tar.bz2 pyramid-023c88b67b907dd3682ef71216245609c9bbdbe1.zip | |
rename set_request_method to add_request_method. closes #683
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index eedf50d14..95a435ef4 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -87,7 +87,7 @@ Features HEAD is a variant of GET that omits the body, and WebOb has special support to return an empty body when a HEAD is used. -- ``config.set_request_method`` has been introduced to support extending +- ``config.add_request_method`` has been introduced to support extending request objects with arbitrary callables. This method expands on the previous ``config.set_request_property`` by supporting methods as well as properties. This method now causes less code to be executed at @@ -149,7 +149,7 @@ Deprecations - The ``pyramid.config.Configurator.set_request_property`` has been documentation-deprecated. The method remains usable but the more - featureful ``pyramid.config.Configurator.set_request_method`` should be + featureful ``pyramid.config.Configurator.add_request_method`` should be used in its place (it has all of the same capabilities but can also extend the request object with methods). |
