Done. +1
Em sábado, 24 de agosto de 2013 20h26min03s UTC-3, Massimo Di Pierro
escreveu:
>
> web2py has many users but few github followers. This is a problem because
> the number of followers is a metric that can be used to guess popularity.
>
> You can help.
>
> Get a github account and click
Stared and Watch +1
On Sun, Aug 25, 2013 at 11:11 AM, webpypy wrote:
> Done.
>
>
> On Sunday, August 25, 2013 2:26:03 AM UTC+3, Massimo Di Pierro wrote:
>>
>> web2py has many users but few github followers. This is a problem because
>> the number of followers is a metric that can be used to gue
Done.
On Sunday, August 25, 2013 2:26:03 AM UTC+3, Massimo Di Pierro wrote:
>
> web2py has many users but few github followers. This is a problem because
> the number of followers is a metric that can be used to guess popularity.
>
> You can help.
>
> Get a github account and click on the star.
Here's the patch. I adds an onrender property to Field which is called from
the widget method of all default widgets.
On Saturday, August 24, 2013 6:42:49 PM UTC-5, mr.freeze wrote:
>
> Ideally, I wouldn't set the class via a script, that was just a hack. I
> would like to alter the field after
+1
Ovidio Marinho Falcao Neto
ITJP.NET.BR
ovidio...@gmail.com
83 8826 9088 - Oi
83 9336 3782 - Claro
Brasil
2013/8/24 Massimo Di Pierro
> web2py has many users but few github followers. This i
i believe what he means is, create an ios app actually running web2py on
the device as backend server and with uiwebview accessing it.
i've been looking for it too.
On Friday, May 17, 2013 10:21:13 PM UTC+8, Christian Foster Howes wrote:
>
> i don't understand the question. what are you trying
Ideally, I wouldn't set the class via a script, that was just a hack. I
would like to alter the field after its default widget is rendered. I have
a patch that allows you to do this. Thoughts?:
def add_required(elm):
elm['_required'] += ' required'
db.mytable.myfield.onrender = add_required
web2py has many users but few github followers. This is a problem because
the number of followers is a metric that can be used to guess popularity.
You can help.
Get a github account and click on the star. https://github.com/web2py/web2py
It costs nothing and has benefits. For example you can
Nice idea. But why put it in a comment?
script = ''
for table in db:
for field in table:
if field.required:
script += 'jQuery("#%s_%s").attr("required","")' % (
field._tablename,field.name)
You can then cache the script and place in the layout.
Massimo
On Saturday, 24
I want to take advantage of bootstrap's form validation classes so I need
to add a class to the field. Too bad there's not a hook into when a Field's
widget is rendered so you can manipulate it. Would you take a patch for
that? I can work around it with your method in the meantime:
for t in db.
>
> i have created my db in db.py but i can't access it directly in my app
> eccept if i go to db.py
> pls can't sombody guide i want to view derectly de db and the record on my
> site Thanks
>
Could you provide a specific example of what you would need the application
to do?
Have you checked
You could use something like:
db.table.field.comment = 'required'
or
for field in db.table:
if field.required:
field.comment='required'
On Saturday, 24 August 2013 09:36:16 UTC-5, mr.freeze wrote:
>
> I want to show users which fields are required *before* they submit a
> form.
>
> Can I ask, what would be the best way to cache the feed action? I'm
> currently working on my own feed as well but I'm not experienced in
> implementing caching.
>
I guess this is the better way, because it provides a simple api:
http://www.web2py.com/books/default/chapter/29/04/the-core#c
Can I ask, what would be the best way to cache the feed action? I'm
currently working on my own feed as well but I'm not experienced in
implementing caching.
On Saturday, August 24, 2013 8:18:13 PM UTC+2, Alan Etkin wrote:
>
> > I'm trying to display a feed on my page that needs to update about
> I'm trying to display a feed on my page that needs to update about every
10 seconds without
> refreshing the entire page. I get the feed to display but not as it
should.
I think you are trying to pause execution in a controller, which is not the
way of refreshing the client document. web2py
Hi,
I'm trying to display a feed on my page that needs to update about every 10
seconds without refreshing the entire page. I get the feed to display but
not as it should.
an other thing is the page loads after 10 seconds and I think the sleep(10)
is responsible for this. I'm not a programmer (
I figured it out.
I needed to add arguments to GET(). That's where the problem was coming
from because I was sending in a value on the curl command.
I think it's working now.
Sorry for the noise.
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users
it broke exactly for the reasons it broke on session.renew() first
inclusion...
DAL really brings too many shortcuts ^_^
On Saturday, August 24, 2013 4:44:10 PM UTC+2, Ricardo Pedroso wrote:
>
> It did broke redis_session, I sent a github pull request to fix it.
>
> Niphlod can you review, I gue
It did broke redis_session, I sent a github pull request to fix it.
Niphlod can you review, I guest you were the author of redis_session.
Ricardo
On Tue, Aug 20, 2013 at 5:44 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> The session logic has been rewritten (for clarity and to f
I want to show users which fields are required *before* they submit a form.
Before I reinvent the wheel, is there a mechanism for adding a "required"
class to fields that have IS_NOT_EMPTY or required=True already built into
web2py?
Thanks,
Nathan
--
---
You received this message because yo
Thanks for spotting this. Scheduler global variables are safe in the
scheduler module, but inside the function that creates the environment to
run the task, they may got overwritten, causing problems. I sent a PR on
github to fix the issue.
On Saturday, August 10, 2013 12:03:10 AM UTC+2, Limedr
did you try simply putting True=True as the condition ?
On Saturday, August 24, 2013 3:37:32 AM UTC+2, Larry Weinberg wrote:
>
> It seems that the requires_login option for @auth.requires() does not
> work. Should it?
> Is there another way to make this work for restful calls? I want to
> impl
Already in 2012 Webfaction announced that they are offering servers in Asia
too, Signapore
https://blog.webfaction.com/2012/01/asia-here-we-come/
Annet
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and
23 matches
Mail list logo