diff options
| author | Michael Merickel <michael@merickel.org> | 2016-11-19 01:11:21 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2016-11-19 01:11:21 -0600 |
| commit | 44563d94a71587ba33a055df1e9008027af23497 (patch) | |
| tree | dd326d3accfc43574fee1875f051c30bd87ca07e /docs/narr/hooks.rst | |
| parent | f6fb4be7c8b0924688a9a057afcd8bb602d32643 (diff) | |
| download | pyramid-44563d94a71587ba33a055df1e9008027af23497.tar.gz pyramid-44563d94a71587ba33a055df1e9008027af23497.tar.bz2 pyramid-44563d94a71587ba33a055df1e9008027af23497.zip | |
require tuple variants on IResourceURL as well
Diffstat (limited to 'docs/narr/hooks.rst')
| -rw-r--r-- | docs/narr/hooks.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst index 28d9bc801..d21edc7b4 100644 --- a/docs/narr/hooks.rst +++ b/docs/narr/hooks.rst @@ -750,7 +750,9 @@ The API that must be implemented by a class that provides """ Accept the resource and request and set self.physical_path and self.virtual_path """ self.virtual_path = some_function_of(resource, request) + self.virtual_path_tuple = some_function_of(resource, request) self.physical_path = some_other_function_of(resource, request) + self.physical_path_tuple = some_function_of(resource, request) The default context URL generator is available for perusal as the class :class:`pyramid.traversal.ResourceURL` in the `traversal module |
