n***@gmail.com
2018-09-20 16:13:51 UTC
i'm using Bottle. I have defined several routes with their corresponding
view function for example
/log/<page>/showlogs
What is the correct way to access those routes using get_url? I try to:
get_url( 'log', page=page )
get_url( 'showlogs' )
and the error iam receiving is:
NameError: name 'get_url' is not defined
If i try to use `url' instead i get this error:
bottle.RouteBuildError: ('No route with that name.', 'log')
bottle.RouteBuildError: ('No route with that name.', 'showlogs')
How am i supposed to access the endpoints?!
--
view function for example
/log/<page>/showlogs
What is the correct way to access those routes using get_url? I try to:
get_url( 'log', page=page )
get_url( 'showlogs' )
and the error iam receiving is:
NameError: name 'get_url' is not defined
If i try to use `url' instead i get this error:
bottle.RouteBuildError: ('No route with that name.', 'log')
bottle.RouteBuildError: ('No route with that name.', 'showlogs')
How am i supposed to access the endpoints?!
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.