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
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
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 div id=some_id /div 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
How about:
replace(/[^ .0-9]/g,'')
On Tue, Dec 6, 2011 at 11:36 AM, Vineet vineet.deod...@gmail.com 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 ggtestlo...@gmail.com wrote:
Thanks Massimo :)
On
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 abasta...@gmail.com wrote:
How about:
replace(/[^ .0-9]/g,'')
On Tue, Dec 6, 2011 at 11:36 AM, Vineet vineet.deod...@gmail.com
wrote
On Tue, Dec 6, 2011 at 1:15 PM, Saurabh Kumar saurabh.ca...@gmail.comwrote:
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
Can you show all of your code?
On Tue, Dec 6, 2011 at 2:17 PM, lyn2py lyn...@gmail.com 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
(
(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 abasta...@gmail.com 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,
On Tue, Dec 6, 2011 at 4:46 PM, greenpoise danel.sega...@gmail.com 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
you know the status of the 4th edition?
On Dec 6, 1:54 pm, Anthony Bastardi abasta...@gmail.com wrote:
On Tue, Dec 6, 2011 at 4:46 PM, greenpoise danel.sega...@gmail.com
wrote:
Is this (web2py Application development cookbook) the same book as the
upcoming 3.xx edition of the web2py
, 2011 at 7:04 PM, Anthony Bastardi abasta...@gmail.com
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)]
Anthony, the book says if I want an integer field
13 matches
Mail list logo