get_url across mount points
See original GitHub issueapp/
app.py
modules/
mod1/
mod1.py
views/
view1.html
mod2/
mod2.py
views/
view2.html
app.py
root = Bottle()
root.mount ("/mod1", mod1app)
root.mount ("/mod2", mod2app)
Question: can I use get_url from a template, to get a URL from any module? For example
view1.html
{{ get_url ("root.about") }}
{{ get_url ("mod1.articles") }}
{{ get_url ("mod2.shop") }}
Issue Analytics
- State:
- Created 6 years ago
- Comments:8
Top Results From Across the Web
how to get url of an object in cherrypy? - Stack Overflow
You can access to the mounted apps through cherrypy.tree.apps[mount_point].root. root is always the mounted instance to the mount point.
Read more >Accessing contents on the underlying mount point path
In Linux, you can use a bind mount to remount part of the file hierarchy somewhere else. So, for example, you could do:...
Read more >File Storage - Laravel - The PHP Framework For Web Artisans
Utilizing this folder convention will keep your publicly accessible files in one directory that can be easily shared across deployments when using zero...
Read more >Chapter 29. Sharing a mount on multiple mount points
This procedure duplicates a mount point as a slave mount type. File systems that you later mount under the original mount point are...
Read more >Files homepage only "Some of the configured external mount ...
External storage share should be accessible via the web interface. Actual behaviour. I get a “Some of the configured external mount points are...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Oh, you’re right. The answer is no. I’d like to suggest this feature though.
Ideally, I think it should work like this
and used like this from a template
If this functionality could be added to Bottle, I think it would be great.