On 2 Oct 2012, at 9:24 PM, lyn2py lyn...@gmail.com wrote:
The new (or maybe not so new, by now) app-specific routers is an excellent
idea. I love it.
Can I get some help regarding the use of it?
The following code is in my routes.py file, but it doesn't seem to work:
routers = {
With similar code in the main routes.py (main = in the web2py dir), the URL
helper will leave out the 'default' and 'index' from the web address.
E.g. assuming I have 'some_func' function in default.py controller,
URL generated = *http://weburl.com/myapp/some_func*
Likewise, for index page, it
On 3 Oct 2012, at 8:38 AM, lyn2py lyn...@gmail.com wrote:
With similar code in the main routes.py (main = in the web2py dir), the URL
helper will leave out the 'default' and 'index' from the web address.
E.g. assuming I have 'some_func' function in default.py controller,
URL generated =
Thanks Jonathan. I appreciate this!
On Thursday, October 4, 2012 12:23:30 AM UTC+8, Jonathan Lundell wrote:
On 3 Oct 2012, at 8:38 AM, lyn2py lyn...@gmail.com javascript: wrote:
With similar code in the main routes.py (main = in the web2py dir), the
URL helper will leave out the 'default'
The new (or maybe not so new, by now) app-specific routers is an excellent
idea. I love it.
Can I get some help regarding the use of it?
The following code is in my routes.py file, but it doesn't seem to work:
routers = {
app: dict(
default_language =
5 matches
Mail list logo