-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 9 May 2007, at 15:48, voltron wrote: > > Oops, those are typos. Just to be sure. I made another quick test: > > I cant get this to render: > http://localhost:5000/test > I get a 404 error Have a look at the docstring in config/routing.py. It sayeth: # The more specific and detailed routes should be defined first, # so they may take precedent over the more generic routes. So, at a guess, you might want to try a re-ordering: > map.connect('hello1', controller='hello', action='index') > map.connect('hello2', 'test', controller='hello', action='test') > map.connect(':controller/:action/:id') > map.connect('*url', controller='template', action='view') (Note, I removed the leading / from "/test", going by my own routing.py contents) HTH Cheers, Graham. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iQCVAgUBRkHvdVnrWVZ7aXD1AQL0UQQAhhY629MWG3vFf9JZVptNZUTza5RpmhGX cuDxgHYuI1T9RWHd7pxaW+Mcw+M5eE6I/0cyQoxwcZm2i9lZv8PfwXPqMFb3M8YL bGqV7MDbf2aBlJ9reV9vFeXJ24glUgZzq5Phhq98uCVylyJrjrCc0/GBObcEpZ1g gUcdlhJRuFw= =/8Bs -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. 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 -~----------~----~----~----~------~----~------~--~---
