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
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
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
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
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
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
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
> 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
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
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
10 matches
Mail list logo