[web2py] I need little help about SQLForm.smartgrid and Models

2018-03-05 Thread Esprit Garonne
Hi I have last version of web2py, I dont understand why all buttons don't showing.I have only text link. In my school project for city of Tours, I try to build this form with web2py, https://www.blablacar.fr/offer-seats/1 About "Etapes" to add city,I need really some advice,? Can I build

[web2py] Re: new style of welcome app

2018-03-05 Thread Anthony
On Sunday, March 4, 2018 at 12:12:45 PM UTC-5, Andrea Fae' wrote: > > I have different apps in my web2py environments. Web2py apps built before > a certain date have a stile with "login" link in the right upper side of > the web page, while the new apps, for example welcome app are with another

[web2py] Re: How many concurrent requests can a web2py instance handle?

2018-03-05 Thread Anthony
One request at a time per thread or process made available by the web server. Anthony On Saturday, March 3, 2018 at 12:26:06 AM UTC-5, nethugo...@gmail.com wrote: > > I know this is probably not a specific web2py issue, but rather a WSGI > one. I am somewhat confused. However, this is not the

Re: [web2py] Re: Unexpected behaviour executing a query with DAL and record versioning enabled

2018-03-05 Thread Richard Vézina
Did you set the actual record that have been deleted to is_active = False?? Or all the records that haven't be deleted yet to TRUE?? You have to go in your backend and do an update there UPDATE stored_item SET is_active = TRUE WHERE is_active IS NULL If you didn't delete any record

Re: [web2py] Re: book help

2018-03-05 Thread Richard Vézina
Massimo has to push the merge stuff online once it get merge... If not update is apply to the web site of the book even if change are merge they still are not available... Richard On Sat, Mar 3, 2018 at 11:50 AM, villas wrote: > Where is the ASSIGNJS description in the

Re: [web2py] Re: please help us test trunk web2py

2018-03-05 Thread Richard Vézina
@pbreit, I think that if you clone recursive at start pull will be enough to update you envrionement... You can assess which version of the pyDAL you have once you pull, just go in gluon/packages/dal/CHANGES and check which version is mention in the last change log there... You can compare what

Re: [web2py] Re: Unexpected behaviour executing a query with DAL and record versioning enabled

2018-03-05 Thread 'Awe' via web2py-users
Hello Richard, it is not a problem of deleted or changed records. As shown in the example, there is the table and versioning defined. After that 3 records are inserted and then the query is executed. The defined query: query = (test2.type_marker=='object') | (test2.type_marker==None) &

[web2py] Correct mySQL warning about NO_AUTO_CREATE_USER

2018-03-05 Thread 'Yan Wong' via web2py-users
A while ago I mentioned that running web2py with mySQL 5.7.7+ / pymysql gives the following warning: /usr/local/lib/python2.7/site-packages/pymysql/cursors.py:165: Warning: (3090, u"Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.") I have tracked

[web2py] Sending emial via smtp

2018-03-05 Thread Vikash Pandey
if I go to command line on python cell then this code works fine. When I tested on python shell or on command line (This code wors fine I can get email via gmial SMTP) from gluon.tools import Mail mail = Mail() mail.settings.server = 'smtp.gmail.com:587' mail.settings.sender =

[web2py] mail send error via API

2018-03-05 Thread Vikash Pandey
on commad line or using python shell This code works find and I can get email from gluon.tools import Mail # now we want to send email mail = Mail() mail.settings.server = 'smtp.gmail.com:587' mail.settings.sender = 'v...@gmail.com' mail.settings.login = 'v...@gmail.com:pass' mail.send() But

[web2py] Re: How many concurrent requests can a web2py instance handle?

2018-03-05 Thread nethugolol
Then one web2py instance can only handle one request, that's right? -- 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 message because you