I wrote routes.py from the book:
routes_in = (
('/testme', '/examples/default/index'),
)routes_out = (
('/examples/default/index', '/testme'),
)
And go to mydomain.com/testme
and get Request Error. But if i check href attribute from "examples" app
link in admin, it's 'mydomain.com/testme'
So, routes_out works fine in that example, but not routes_in.
суббота, 13 октября 2012 г., 6:50:31 UTC+5 пользователь Massimo Di Pierro
написал:
>
> Strange. We have unitests for them and they all pass. Can I see your
> routes.py?
>
> On Friday, 12 October 2012 17:54:08 UTC-5, Vasile Ermicioi wrote:
>>
>> hi,
>> I put my apps and routes.py in a new folder web2py 2.0.9 and all my
>> websites are pointed to init app
>> and I downgraded back to 1.99.4
>>
>
--