[web2py] Re: Problem save datetime

2016-05-20 Thread Alessio Varalta
I see the error..the define field i correct ..the error is in my controller :) resolved On Wednesday, 18 May 2016 20:54:56 UTC+2, Dave S wrote: > > > > On Wednesday, May 18, 2016 at 9:55:57 AM UTC-7, Alessio Varalta wrote: >> >> Hi i have this table >> >> db.define_table('verbale', >>

[web2py] Re: stuck up on Deployment on CentOS 6.7

2016-05-20 Thread LightDot
Go for 3. Two caveats: - apache installed in /usr/local/apache2 is not a part of CentOS distribution. It must have been installed manually at some point - if you're using python provided by the OS, you'll be stuck on this last version of web2py. Web2py > 2.14.6 isn't python 2.6 compatible anymor

[web2py] Re: stuck up on Deployment on CentOS 6.7

2016-05-20 Thread Rahul
Hey LightDot, Thats correct I have manually installed Apache2. However I also have python2.7.11(I guess that is the latest one) installed in other directory . Both python 2.6.6 and 2.7.11 co-exist separately. I have followed instructions to make sure I dont mess up the original dist

[web2py] Re: Notification similar to django-notification

2016-05-20 Thread eric cuver
you can give the django notifcation links to see Le vendredi 13 mai 2016 16:14:26 UTC+2, billmac...@gmail.com a écrit : > > Is there a plugin/package for web2py that is similar to > django-notification for emails, texts and other activities? > > -- Resources: - http://web2py.com - http://web2p

[web2py] Redirecting certain users after login

2016-05-20 Thread 1dolor1
So I searched the web and found info how to redirect user to a certain page when they log in by adding referred_actions=None to {{='auth' in globals() and auth.navbar(mode="dropdown") or '' }} in layout.html Then adding auth.settings.login next = URL('page') in db.py But how would one go about

[web2py] _lastsql is commented out

2016-05-20 Thread Andrew Willimott
Hi, Are we still intending to keep _lastsql functionality. It's not working in the new pydal and I see its commented out. Was this intentional ? Thanks Andrew W -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - http

[web2py] food delivery system, get the record food ordered

2016-05-20 Thread rara
i am looking the solution on how to create the list of records that customer was ordered. In my case, I am developing food delivery system .user can order food more than one food, therefore, user can see the list of foods that was ordered including total price for all foods. Anyone can help m

[web2py] (More complex) Aggregations in web2py and using SQLFORM.grid (DAL vs. SQL vs. pandas vs. ???)

2016-05-20 Thread stex76
Hello, I've got a problem and don't know if it's (easily) solvable in web2py. There're two tables, one for properties and one for their valuations (one property can have zero to multiple valuations): db.define_table('property', Field('property_id', 'id'),

[web2py] Can't log in?

2016-05-20 Thread Shannon Fry-Penuel
Keep getting an error.. can't sign in. I keep getting this page Internal errorTicket issued: whatdidisell/45.50.41.172.2016-05-19.17-28-03.0c8b4496-1a34-4d8f-a4bb-6186a6066e5b

[web2py] Re: Lengthy thread.lock.acquire() on ajax calls?

2016-05-20 Thread Massimo Di Pierro
not sure. investigating. Do you mind opening an issue about link this thread? thanks. On Wednesday, 18 May 2016 08:58:03 UTC-5, mat...@gmail.com wrote: > > When making consecutive ajax calls, we've noticed very lengthy TTFB > (time-to-first-byte) values in the Chrome devtools for any request tha

[web2py] Re: info: bootstrap3 compact form

2016-05-20 Thread Massimo Di Pierro
we should really abandon this format and come with something more user friendly On Thursday, 19 May 2016 05:42:56 UTC-5, Mirek Zvolský wrote: > > For me was problem with formstyle=bootstrap3_inline that each field is to > much high: just first 5-7 items (from lets say ~20 form fields) were > vi

[web2py] Re: _lastsql is commented out

2016-05-20 Thread Dave S
On Friday, May 20, 2016 at 11:34:07 AM UTC-7, Andrew Willimott wrote: > > Hi, > > Are we still intending to keep _lastsql functionality. It's not working > in the new pydal and I see its commented out. Was this intentional ? > > Thanks > > Andrew W > As you've seen in the developer's group, t

[web2py] Re: Can't log in?

2016-05-20 Thread Dave S
On Friday, May 20, 2016 at 11:34:07 AM UTC-7, Shannon Fry-Penuel wrote: > > Keep getting an error.. can't sign in. I keep getting this page Internal > errorTicket issued: > whatdidisell/45.50.41.172.2016-05-19.17-28-03.0c8b4496-1a34-4d8f-a4bb-6186a6066e5b > >

[web2py] Re: food delivery system, get the record food ordered

2016-05-20 Thread Dave S
On Friday, May 20, 2016 at 11:34:08 AM UTC-7, rara wrote: > > i am looking the solution on how to create the list of records that > customer was ordered. In my case, I am developing food delivery system > .user can order food more than one food, therefore, user can see the list > of foods that

[web2py] Re: (More complex) Aggregations in web2py and using SQLFORM.grid (DAL vs. SQL vs. pandas vs. ???)

2016-05-20 Thread villas
Your sql looks a little over-complicated... Anyhow, see grouping and counting in the book. If you're interested in creating a rows object from raw sql, take a look at this idea

[web2py] Re: Redirect after profile update

2016-05-20 Thread Ron Chatterjee
Thank you Villas and Also Al for your input. I found a work around. On Wednesday, May 18, 2016 at 5:38:22 PM UTC-4, villas wrote: > > Hi Ron, > I said it was a similar function for good reason - I am simply trying to > make corrections and help you get your code working :) > One point is that

[web2py] Re: Redirecting certain users after login

2016-05-20 Thread Dave S
On Friday, May 20, 2016 at 11:34:08 AM UTC-7, 1dolor1 wrote: > > So I searched the web and found info how to redirect user to a certain > page when they log in > by adding referred_actions=None to {{='auth' in globals() and > auth.navbar(mode="dropdown") or '' }} in layout.html > Then adding aut

[web2py] Re: How to edit the menu bar so as to remove profile and name in front of welcome in the dropdown?

2016-05-20 Thread rajjmatthur
I just want to change the name from Profile to Register. I have to do all these or there is another work around? On Sunday, December 27, 2015 at 2:00:38 AM UTC-5, Massimo Di Pierro wrote: > > Edit views/layout.html and remove {{=auth.navbar()}} which is > responsible for drawing that part

[web2py] Re: _lastsql is commented out

2016-05-20 Thread Massimo Di Pierro
yes. there is an ongoing discussion due to the fact that when dal is used in other frameworks or programs which are multithreaded, _lastsql will return the last sql even if this was executed in a different thread. While not a problem in web2py it may be misleading. Feel free to expression your