Hi,
I'm new to pyramid traversal and having a hard time understanding how to
use the pyramid_traversalwrapper. I added these two lines in my
initialization code:
config = Configurator(root_factory=Root)
config.registry.registerAdapter(ModelGraphTraverser, (Interface,),
ITraverser)
and it seems that the traversals are being done using the
ModelGraphTraverser, however, what do I need to do with the rest of my
model to be able to use the resource-aware functions like resource_path and
find_root and such. Confused.
Erin
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pylons-discuss/-/Ys8DFgihinEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.