I´m trying map clean urls with no luck, Its definately something I do
not understand in routes.
# controller
class TestController(BaseController):
def index(self):
return Response('boomer')
def tada1(self):
return Response('tada1')
def tada2(self):
return Respo
Hmm, I even tried this with separate controllers, is still does not
work as expected. Does anyone have an idea?
Thanks
On May 5, 9:20 pm, voltron <[EMAIL PROTECTED]> wrote:
> I´m trying map clean urls with no luck, Its definately something I do
> not understand in routes.
>
> # controller
>
> cl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 9 May 2007, at 09:56, voltron wrote:
>> # routes
>> [...]
>> map.connect(''', controller='test', action='tada1')
>> [...]
>> map.connect(''', controller='test', action='tada2')
I'm not sure what the exact effect of those triple quotes would
Oops, those are typos. Just to be sure. I made another quick test:
map.connect(':controller/:action/:id')
map.connect('*url', controller='template', action='view')
map.connect('hello1', controller='hello', action='index')
map.connect('hello2', '/test', controller='hello', action='test')
I ca
-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 say
On 5/9/07, Graham Higgins <[EMAIL PROTECTED]> wrote:
>
> -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
> >
Thanks Graham! Reordering the mappings worked :-))
On May 9, 5:57 pm, Graham Higgins <[EMAIL PROTECTED]> wrote:
> -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 g