[web2py] SQLFORM.grid search widget width

2018-10-03 Thread Θωμάς Γκλεζάκος
Could someone please help me alter the width of the default field of the search widget in SQLFORM.grid? Thank you in advance for your time Thomas. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Webservice using JWT

2018-10-03 Thread Dave S
On Wednesday, October 3, 2018 at 3:40:53 AM UTC-7, isi_jca wrote: > > Hi Everybody!! > > I am trying to use webservice and Jason Web Token > > > I have this controller: webservice.py > > from gluon.tools import AuthJWT > myjwt = AuthJWT(auth, >

[web2py] Re: Reading information from an external CSV file through SQLFORM.smartgrid

2018-10-03 Thread Dave S
On Wednesday, October 3, 2018 at 12:15:36 AM UTC-7, mostwanted wrote: > > Is it possible for me read information from a CSV file saved somewhere in > my computer into my application through SQLFORM.smartgrid without uploading > the CSV file into the application? > > Regards > > Mostwanted >

[web2py] uploaddirectory experience

2018-10-03 Thread Dave S
Last night, I was getting frustrated by my attempts to add a new table to my, one that would use uploaddirectory on an upload field to direct the associated files to a separate store from that of an existing table (that used the default of 'uploads'). Shreds of hair, tumblers of tea, scours of

[web2py] Re: Reading information from an external CSV file through SQLFORM.smartgrid

2018-10-03 Thread mostwanted
I like the first suggestion* (You could import into a "sqlite:memory."), *how does it work though??? On Wednesday, October 3, 2018 at 4:13:17 PM UTC+2, Anthony wrote: > > Do you mean without importing the CSV data into a database? If so, then > no. You could import into a "sqlite:memory"

[web2py] Re: Reading information from an external CSV file through SQLFORM.smartgrid

2018-10-03 Thread Anthony
Do you mean without importing the CSV data into a database? If so, then no. You could import into a "sqlite:memory" database (though that will load the data on every request, as the in memory database will disappear at the end of each request). Alternatively, maybe just load the data into a

[web2py] Re: Configuring Web2py with Zappa

2018-10-03 Thread Anthony
Probably follow the Flask instructions, noting that web2py exposes a WSGI application function in the sample wsgihandler.py file (which you should copy to the web2py root folder). You'll have to set up sessions to be stored in the database or in cookies. Anthony On Wednesday, October 3, 2018

Re: [web2py] db structure graphical analysis tool

2018-10-03 Thread Richard Vézina
Does the old appreciate pygraphviz still work out of the box?? I thought we would keep support for it?? Thanks Richard On Sat, Jul 8, 2017 at 9:27 AM Paolo Valleri wrote: > Hi Jurgis, > web2py master has recently switched from pygraphviz to a js based > solution. I would suggest you to adapt

[web2py] Configuring Web2py with Zappa

2018-10-03 Thread Sharjeel Ali Shaukat
Please tell me, How can I deploy the Web2py Application to AWS Lamda using zappa. The configuration for django is somewhat this: { "dev": { "django_settings": "frankie.settings", "s3_bucket": "zappatest-code" } } Any help would be much appreciated. -- Resources: - http://web2py.com -

[web2py] Re: GITHUB and my updates

2018-10-03 Thread 黄祥
think you must fork web2py repo first on your github then clone it recursively on your local machine create the file you want to contribute in web2py project in git cloned on local machine commit the file change and push it to your github repo create pr on web2py repo

[web2py] GITHUB and my updates

2018-10-03 Thread Ben Duncan
Ok, I'll confess I've never used github. and am now totally lost. I have, however uploaded my update to bens4linux/web2py, my update for a utility called extract_pgsql_models_v2.0.0.py and the read me for it. I'm not sure what to do at this point as I would like to contribute to the web2py

[web2py] Webservice using JWT

2018-10-03 Thread isi_jca
Hi Everybody!! I am trying to use webservice and Jason Web Token I have this controller: webservice.py from gluon.tools import AuthJWT myjwt = AuthJWT(auth, secret_key='my_especial_key',algorithm='HS512',user_param="email") myjwt.verify_expiration = False def login_take_token():

[web2py] Reading information from an external CSV file through SQLFORM.smartgrid

2018-10-03 Thread mostwanted
Is it possible for me read information from a CSV file saved somewhere in my computer into my application through SQLFORM.smartgrid without uploading the CSV file into the application? Regards Mostwanted -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -