Skip to content

Commit

Permalink
require tuple variants on IResourceURL as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerickel committed Nov 19, 2016
1 parent f6fb4be commit 44563d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/narr/hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44563d9

Please sign in to comment.