On Saturday, July 6, 2013 10:15:27 AM UTC-4, LightDot wrote:
> Like I said, your redirect is wrong. Should be f='segunda' not
> f='segunda.html'.
It's OK to include the extension in the function name -- the URL function
will extract the function and extension from the function if it includes a
".":
URL('default', 'segunda.html') == URL('default', 'segunda', extension='html'
)
However, it isn't generally necessary to specify the "html" extension
because it is assumed when no extension is specified. Shouldn't be an issue
in this case.
Anthony
--
---
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.