Can I run 2 instances of web2py of the same application, with 1 instance
process the Business Logic (controller) while the other instance doing the
User Interface (View)? What I'm trying to achieve here is to separate the
API and UI by hosting them on separate server, to allow me to scale them
I've searched through the discussion archive before posting this question.
There were few threads here and there but nothing definitive.
Please share your experience with using the web2py docker image. Can you
recommend a docker image(s) that you've been using in production?
Thanks,
CD
--
Res
There are several sections in the web2py documentation that showed some
strategies to optimize the performance of web2py, i.e. using lazy table,
memcache, etc...
Should I incorporate some of these strategies on a new deployment of
web2py, or should I just stick with the standard configuration
I'm planning to have 2 servers hosting web2py for load balancing and high
availability. Will sessions be persistent across both servers? If not, then I
need to make sure the load balancer always direct the same user session to the
same server? Is my understanding correct?
--
Resources:
- http:
Hi Web2py Family,
I hope you guys and gals can help me with this problem.
I'm using the Volvox Bootstrap Template for my web2py application.
I followed the recommended steps to make other bootstrap templates
compatible with web2py, i.e. stored the template static and update href/src
tags to po
Hi,
I'm trying to display the current URL inside an html page that's embedded
via Component LOAD.
However, the URL displayed is not the one that's on the browser's address
bar. Instead, it's the URL of the embedded page.
How do I display the URL on the browser's address bar instead of itself?
Please help with the following:
In CONTROLLER:
def get_author(*args):
In VIEW:
{{=LOAD('default', 'get_author.load', ajax=True)}}
With the LOAD component inside a view, it returns "Invalid function
(default/get_author)".
Seems like it doesn't like the function argument *args. There is no er
How do I get the built-in wiki page to run python code, i.e.
{{=URL('default','blog')}}
I use auth.wiki(render='html')
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Repor
I'm using a bootstrap theme that comes with its own menu. How do I add
web2py's wiki menu to the bootstrap's theme?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Is
Hi,
What is the best way to add the default wiki menu to a different bootstrap
theme? I manually added the menu to the theme but didn't realized that the
wiki sub-menu changes based on the current page.
Should I modify the wiki menu to reflect the theme's html? If so, how can
it be done?
Than
I can read the x value of http get as:
tmp = request.vars['x']
What is the equivalent syntax in *markmin*?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--
Solution to this is pass in argument attachment=False when calling
response.download inside media function from tools.py
On Tuesday, April 19, 2016 at 5:09:32 PM UTC-4, bria...@gmail.com wrote:
>
> I use the built-in wiki for my application. I created a page (slug) and
> upload the image using t
How do I append search results to another div class rather than displaying
it beneath the search box?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You
Figured out to turn off tagging under search by setting cloud=False in
search function arg
On Thursday, April 21, 2016 at 10:33:52 PM UTC-4, bria...@gmail.com wrote:
>
> How do I turn off the tags appear under the search function of the
> built-in wiki?
>
--
Resources:
- http://web2py.com
- ht
How do I turn off the tags appear under the search function of the built-in
wiki?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this messa
Can you elaborate more on both solutions? How can I get this to work when I
create the image link inside the slug?
On Tuesday, April 19, 2016 at 5:09:32 PM UTC-4, bria...@gmail.com wrote:
>
> I use the built-in wiki for my application. I created a page (slug) and
> upload the image using the bui
I apologize. My initial question is not very clear so I'll rephrase it more
appropriately.
The problem here is that when I link to the image it's saving it instead of
display it, and the latter is my intention.
It looks like this feature is built into web2py. I think the following HTTP
header
I uploaded the image via the media function of the built-in wiki. I created
a link to the larger image to display it when user click on the thumbnail.
But instead, it downloads the larger image.
Please advise how to display the image instead of download it through the
anchor tag.
Thanks,
CD
I use the built-in wiki for my application. I created a page (slug) and
upload the image using the built-in media function. I created a link to
display the large image when user clicked on the thumbnail, but instead it
downloads the image.
This is my code within the page.
Please advise how c
19 matches
Mail list logo