Discussion:
[bottlepy] router inside template (jinja2)
diego
2014-12-28 02:08:53 UTC
Permalink
Hello. i want to access a named route

@bottle.route('/homepage', name='index')

inside a template...


<a href="<% bottle.url('index') %>">

how can i do something like that?

thx!
--
--
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.
Loading...