Re: [web2py] Re: Question about web2py roadmap.

2015-02-07 Thread Massimo Di Pierro
I am sorry people read example like this and do not understand it. All web frameworks have helpers (Rails does, Django does, etc.) and helpers are to be used in views. Web2py helpers are quite useful because they provide a complete extensible set (other frameworks do not do that) and they can be

[web2py] Re: beginner question: select first

2015-02-07 Thread Massimo Di Pierro
As other has said select().first() is an alias for select()[0]. This means that web2py is still fetching and parsing all the matching rows even if you only need one. So make sure you do db(...).select(limitby=(0,1)).first() so you only fetch and parse the one that you want if it exists. On Fri

[web2py] Re: adding signature to url after login

2015-02-07 Thread Massimo Di Pierro
This is a good point. Please open a ticket (on github) and we will investigate. On Friday, 6 February 2015 15:18:55 UTC-6, weheh wrote: > > I have a URL that I want to direct to after login. Something like > _next_url = URL(c, f, v, signature=True). > > The problem is this. The signature is comp

[web2py] Re: Is there an issue with my web2py install? "can't pickle function objects"

2015-02-07 Thread Massimo Di Pierro
The old version could do it but only with sqlite because sqlite was not properly configured and would allow you to create a reference to a table that did not exist (yet). The new version makes sure that if your code works with sqlite it also works with other databases. On Friday, 6 February 201

Re: [web2py] Re: https only on admin

2015-02-07 Thread tim spear
ok, though it's only a digitalocean droplet I set up for test purposes with a 'hello world' on it and intend to destroy again shortly On Sun, Feb 8, 2015 at 11:35 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Please do not post your admin password (or any other password here). > An

[web2py] Re: https only on admin

2015-02-07 Thread Massimo Di Pierro
Please do not post your admin password (or any other password here). Anybody with the admin password has almost complete access to you machine and can install malware without you noticing it. On Thursday, 5 February 2015 23:03:15 UTC-6, tim spear wrote: > > I think I was the first person to ment

[web2py] Best and simpler approach to Inline editing / deleting / appending (jqGrid, Jeditable,etc)

2015-02-07 Thread clara
Hello, I know this has been asked before, there are Web2py Slices (some of which seem to be outdated), questions posted here on the subject but somehow it is not clear to me which path I should take to implement a grid with inline editable fields, appendable/deletable records. I am looking to s

Re: [web2py] Re: Question about web2py roadmap.

2015-02-07 Thread Anthony
> I personally do not use html helpers *at all*, but I can see why for some > folks it can be a time saver. > I lean towards sticking with HTML, but there are cases where the helpers are useful -- see http://stackoverflow.com/questions/8091487/what-are-the-benefits-of-building-html-markup-wit

Re: [web2py] Re: Question about web2py roadmap.

2015-02-07 Thread Julio F. Schwarzbeck
Anthony, your last paragraph is quite interesting. I work for a large corporation, which for good or bad, has back-end web programmers, but also simple html designers. The concept of embedding HTML helpers A(), FORM() in controllers, or modules is frowned upon and it was one of the main reasons

[web2py] web2py deployment on open shift by admin

2015-02-07 Thread Ramkrishan Bhatt
HI Everyone, I used web2py admin for openshift application deployment. I got success but still in url openshift welcome page is redirecting. I have configure setup.py also. but i am getting problem to routs my apps in openshift. Why only applications folder is getting include in wsgi folder. tr