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
>
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
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
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
-
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"
5 matches
Mail list logo