Hmm, email updates seem to be working for me (I just turned it on since the
Forum interface is no longer working). Anyway, if you go to
https://groups.google.com/forum/#!forum/web2py and are logged in, the
options dropdown (gear icon) in the upper right should include a "Feedback"
option, which you
>
> One question related to the A() callback.
>
> Defining a and adding a target="some_id" to
> the A works very well.
>
> I tried to do session.flash/response.flash inside the callback
> function but it didn't work. Is there a way to do it?
>
> def callback_function():
>it does some stuff...
How about:
replace(/[^ .0-9]/g,'')
On Tue, Dec 6, 2011 at 11:36 AM, Vineet wrote:
> But it doesn't accept decimal point either.
> How to make it accept the decimal point?
>
> --- Vineet
>
> On Dec 6, 10:25 am, Saurabh S wrote:
> > Thanks Massimo :)
> >
> > On Dec 6, 9:18 am, Massimo Di Pierro
e:
> I think it should be
>
> replace(/[^ \.0-9]/g,'')
>
> not sure bout JS regex but in python . matches any character
>
> On Dec 6, 10:46 am, Anthony Bastardi wrote:
> > How about:
> >
> > replace(/[^ .0-9]/g,'')
> >
> >
On Tue, Dec 6, 2011 at 1:15 PM, Saurabh Kumar wrote:
> Thanks again for the reply.
> The chat room thing is OK. Instead what I am concerned about is if the
> code is efficient enough to handle thousands of request.
>
It should be. That's why Tornado is used -- it is a non-blocking web
server. See
Can you show all of your code?
On Tue, Dec 6, 2011 at 2:17 PM, lyn2py wrote:
> Thank you Anthony! That works well!
>
> Just a small question, I am trying to understand web2py better:
> I am using 2 other tables to enable the above scenario:
> (1) auth_account table to hold the account informatio
gt;> myset = db(
> >> (db.auth_account.id==db.auth_many.account_id) &
> >> (db.auth_many.user_id==auth.user_id)
> >> )
> >> session.account = myset.select(db.auth_account.ALL).first()
>
> It is in model.
>
> Thank you!
>
>
> On Dec 7, 3:30 am, Anthony Bastardi wrote:
> > Can you show all of your code?
>
What happens if you reverse the order of the validators:
Mytable.payday.requires = [
IS_IN_SET(G_DAYS_AVAILABLE, error_message="Choose one day"),
IS_INT_IN_RANGE(0,31)]
Or what happens if you leave out the IS_INT_IN_RANGE validator altogether?
Anthony
On Tue, Dec 6, 2011 at 3:27 PM, Vinic
On Tue, Dec 6, 2011 at 4:46 PM, greenpoise wrote:
> Is this (web2py Application development cookbook) the same book as the
> upcoming 3.xx edition of the web2py book? name change??
>
>
>
No, it's a completely new book of recipes. The upcoming 4th edition of the
web2py book is simply an update of
tatus of the 4th edition?
>
>
>
>
>
> On Dec 6, 1:54 pm, Anthony Bastardi wrote:
> > On Tue, Dec 6, 2011 at 4:46 PM, greenpoise
> wrote:
> > > Is this (web2py Application development cookbook) the same book as the
> > > upcoming 3.xx edition of the web
7:04 PM, Anthony Bastardi
> wrote:
> > What happens if you reverse the order of the validators:
> >
> > Mytable.payday.requires = [
> > IS_IN_SET(G_DAYS_AVAILABLE, error_message="Choose one day"),
> > IS_INT_IN_RANGE(0,31)]
>
> Anth
Hey all,
Please don't cc my personal email address on web2py Google Group posts.
I'll see any posts directly on the group. Thanks.
Anthony
On Fri, Sep 30, 2016 at 7:48 AM, 黄祥 wrote:
> pls try not tested :
> def dashboard_admin():
> query = (db.payslip.state == 'Confirmed')
> sum = db.p
Well, the post below made it onto the group, as that's where I saw it and
responded. Looks like someone approved your individual post but didn't give
you general approval to post. Anyway, I changed your status, so you should
now be able to post without moderation.
Anthony
On Sun, Jun 1, 2014 at
13 matches
Mail list logo