pls try (tested on mac not on heroku and you can also change the parameter
with your own setting)
pip install gunicorn
cd path_to_web2py/
cp handlers/wsgihandler.py ./
gunicorn wsgihandler --max-requests 1000 --timeout 600
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.c
Hello , All!
I load component via :
$.web2py.component("{{=URL(c='conc2',f='c2.load')}}", 'conc_div')
component have ajax calls like :
ajax("{{=URL(c='conc2', f='create_new_detail?t=')}}" +t+
'&c_id='+c_id,[],'mbody_CRUD_Modal');
when i send t and c_id vars to function with ajax call, and pri
manage to find the error :
ajax("{{=URL(c='conc2', f='create_new_detail')}}" +'?t=' +t+
'&c_id='+c_id,[],'mbody_CRUD_Modal');
On Friday, August 3, 2018 at 6:47:23 PM UTC+8, Artem wrote:
>
> Hello , All!
> I load component via :
>
> $.web2py.component("{{=URL(c='conc2',f='c2.load')}}", 'conc_div'
>
> I guess I could cache it at the controller level. But the incoming url is
> like "scheme://app/control/func/subfunc?vars...". So I guess I'd parse it
> at the controller level and then apply caching only for
> "func/subfunc?vars..." which is the json-returning part. I've not really
> us
The URL extension propagates, so if you call URL() without explicitly
specifying an extension, it adds the extension of the current request
(i.e., the request in which URL() is called), with the exception of the
".html" extension, which is dropped.
So, if the current request has a .load extensi
Arghh ... I have not been reading the book properly. Thanks for this.
I would just like to use the subdomain method. However, how would you do it
for country? I don't think we have default_country.
On Wednesday, 1 August 2018 22:43:31 UTC+8, Anthony wrote:
>
> On Tuesday, July 31, 2018 at 11:36:
Thank you Stifan, that's worked!
For reference for anyone else out there running web2py on Heroku here is my
working production Procfile:
web: gunicorn wsgihandler --max-requests 1000 --timeout 10
--max-requests-jitter
100
On Friday, August 3, 2018 at 5:11:33 AM UTC-5, 黄祥 wrote:
>
> pls
I've been playing around with Pony ORM lately (and SQLAlchemy) and am
thinking of using Pony in place of the DAL. I know I'll give up a bunch of
integration with the Grid and such but feel it may be better for me in the
long run. I'm not a fan of using the DAL outside of web2py, it feels heavy
On Friday, August 3, 2018 at 9:19:32 AM UTC-4, rāma wrote:
>
> Arghh ... I have not been reading the book properly. Thanks for this.
>
> I would just like to use the subdomain method. However, how would you do
> it for country? I don't think we have default_country.
>
No, there is no built-in sup
Hi, im getting AttributeError if the value returned by a virtual method is
none..
There is some way to get the none value or i always have to check
['virtualfield'] is in db.table
Im running web2py 2.14.6-stable
Regards,
Romina
--
Resources:
- http://web2py.com
- http://web2py.com/book (Doc
Anybody with experience integrating Maker.js with web2py ?
https://maker.js.org/playground/?script=dogbone-polygon
I am looking for a simple example how to emit svg to specific element
All the examples on the official site emit it by calling document.write(svg)
Thanks
--
Resources:
- http://web
On Friday, August 3, 2018 at 4:23:05 PM UTC-4, fiubarc wrote:
>
> Hi, im getting AttributeError if the value returned by a virtual method is
> none..
>
> There is some way to get the none value or i always have to check
> ['virtualfield'] is in db.table
>
I believe the virtual field should be i
12 matches
Mail list logo