I cannot get load results to appear on html page. Only the words "
loading..." appear
CONTROLLER
def post():
comments=db(db.SuperObjectComment).select()
return locals()
LOAD DOCUMENT (named: post.load)
{{for post in comments:}}
On {{=post.created_on}}
{{pass}}
WHEN BROWSING TO http:
Can you review the script to look at what we do there :
https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
On Fri, Apr 8, 2016 at 8:22 AM, 'Yan Wong' via web2py-users <
web2py@googlegroups.com> wrote:
> The web2py Nginx setup page (
> http://web2py.com/books/
On Saturday, April 9, 2016 at 12:53:24 AM UTC-4, Yan Wong wrote:
>
> The web2py Nginx setup page (
> http://web2py.com/books/default/chapter/29/13/deployment-recipes#Nginx)
> says to specify 'root' directory in two 'location' blocks, one for
> /xxx/static and one for simply /
>
I don't see the s
Has web2py.js loaded properly? If you check the browser developer tools, is
the Ajax request getting sent, and if so, what is the response? Any JS
errors in the browser console?
Anthony
On Saturday, April 9, 2016 at 3:16:56 AM UTC-4, Alex Glaros wrote:
>
> I cannot get load results to appear on
This is nothing web2py would have done. And very difficult to provide any
help with no further details.
On Saturday, April 9, 2016 at 12:53:28 AM UTC-4, Sneka R wrote:
>
> Hi,
> I have been using web2py for few days now. All the files I have created
> has vanished. What happened?
>
--
Resource
You're doing nothing wrong, it's just the way the ConfigParser module works
in python, remember that the only thing you have in a config file are
strings, config files are not Python. Luckily AppConfig take has a cast
argument which you can use for this. So instead of
tasks = ('Call', 'Meet',
On Saturday, April 9, 2016 at 10:34:00 AM UTC-4, Leonel Câmara wrote:
>
> You're doing nothing wrong, it's just the way the ConfigParser module
> works in python, remember that the only thing you have in a config file are
> strings, config files are not Python. Luckily AppConfig take has a cast
Is the machine on the public internet?
2016-04-09 15:06 GMT+02:00 Anthony :
> This is nothing web2py would have done. And very difficult to provide any
> help with no further details.
>
>
> On Saturday, April 9, 2016 at 12:53:28 AM UTC-4, Sneka R wrote:
>>
>> Hi,
>> I have been using web2py for f
Hello all, I am wondering if you all could sense chech my issue for me. I am
creating sites that do a fair amount of analytics on large data sets and as
such requests may take 30-90 seconds to get a response. My web server has 8
logical cores and once I have over 8 concurrent users they are ess
It's generally not good to have HTTP requests taking so long. Instead, when
such a request is made, you should pass the task off to a job queue (e.g.,
using web2py's built-in scheduler or some other similar solution) to be
completed in the background. You can then have the browser poll the serve
Thank you for the tip, I will look into running the math as a background
service, is the task scheduler the only way to achieve that?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issu
Acting on your tip, I replaced the whole JS folder with the one from w2p
Welcome app and it worked.
Does the following indicate correct AJAX sending?
XHR
http://127.0.0.1:8000/test/default/post.load [HTTP/1.1 200 OK 859ms]
The Web Console logging API (console.log, console.info, console.warn,
c
Hello, everyone
I want to customize my user registration page a little bit, and I am using
the code like below:
{{=form.custom.begin}}
{{=form.custom.widget.username}}
...
{{=form.custom.submit}}
{{=form.custom.end}}
I couldn't figure out what fieldname I should put for the "confirm passw
Looks OK -- you got a 200 response, and as you say, the component loads now.
On Saturday, April 9, 2016 at 8:04:38 PM UTC-4, Alex Glaros wrote:
>
> Acting on your tip, I replaced the whole JS folder with the one from w2p
> Welcome app and it worked.
>
> Does the following indicate correct AJAX se
On Saturday, April 9, 2016 at 7:57:29 PM UTC-4, Jason Solack wrote:
>
> Thank you for the tip, I will look into running the math as a background
> service, is the task scheduler the only way to achieve that?
The web2py scheduler is probably the easiest approach, as it is built in,
but there are
Leonel, Anthony,
Thank you very much, both methods you mention work beautifully!
cheers,
Luca
On Sunday, April 10, 2016 at 1:24:44 AM UTC+10, Anthony wrote:
>
> On Saturday, April 9, 2016 at 10:34:00 AM UTC-4, Leonel Câmara wrote:
>>
>> You're doing nothing wrong, it's just the way the ConfigPar
16 matches
Mail list logo