Re: [web2py] How do I redirect to a different application from one application?

2016-06-17 Thread Manuele Pesenti
Il 17/06/16 14:31, Steve Joe ha scritto: > I know how redirect works. But I am not sure how to redirect to > another app on the same web2py site. > i dont want to put long url , something like this: > redirect("http://127.0.0.1:8000/port/;) > as it looks so naive >

Re: [web2py] How do I redirect to a different application from one application?

2016-06-17 Thread Anthony
Use the URL function with the app name as the first argument. It's all in the docs. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this

Re: [web2py] How do I redirect to a different application from one application?

2016-06-17 Thread Steve Joe
I know how redirect works. But I am not sure how to redirect to another app on the same web2py site. i dont want to put long url , something like this: redirect("http://127.0.0.1:8000/port/;) as it looks so naive On Friday, June 17, 2016 at 12:28:06 PM UTC+5:30, Manuele wrote: > > Il 17/06/16

Re: [web2py] How do I redirect to a different application from one application?

2016-06-17 Thread Manuele Pesenti
Il 17/06/16 08:20, Steve Joe ha scritto: > exact syntax? Have you looked for it in the doc? http://www.web2py.com/books/default/chapter/29/04/the-core?#HTTP-and-redirect http://www.web2py.com/books/default/chapter/29/04/the-core#URL Cheers M. -- Resources: - http://web2py.com -

[web2py] How do I redirect to a different application from one application?

2016-06-17 Thread Steve Joe
exact syntax? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users"