You can redirect to any page you wish from a function. This way you don't 
have to create a page for the function and can decide what is the page you 
want to call.

example:

def no_page():
    redirect(URL('index'))

This is beneficial, if you want to have a function which handles the link 
data and then decides what page (view) to call.

Ykä

On Friday, September 6, 2013 6:16:46 PM UTC+3, kranthi aeronaut wrote:
>
> hii all , i am new to web2py , it seems that in web2py for every function 
> we declare in default.py page , we should also create a new html page with 
> same name of function , is this mandatory or is there any other way to 
> implement the logic ??
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to