Hello,

I'm trying to go to home page (http://localhost:6543/) through traversal. 
What should be the key of context to traversal choice it?

config.add_route('pages_view',  '/*traverse', 
factory='sacrud_pages.routes.root_factory')

My context {'': <About company>, 'foo12': <foo12>}

1) http://localhost:6543/ - not choice <About company>

>>> PATH_INFO = '/'
>>> PATH_INFO.split('/')
['', '']

2) http://localhost:6543/foo12 - It OK (choice foo12)

>>> PATH_INFO = '/foo12'
>>> PATH_INFO.split('/')
['', 'foo12']

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to