ambda row: diff_in_years(row.personal_data.dob))
>
> Virtual field functions must reference the table name as well as the field
> name.
>
> Anthony
>
>
> On Tuesday, February 18, 2014 5:28:26 PM UTC-5, Leandro E. Colombo Viña
> wrote:
>>
>> Hi Guys!
>>
>>
Hi Guys!
I've got a little problem trying to use Virtual Fields. I can't make them
work. I follow the example in the book and nothing, I don't have a clue of
what I'm doing wrong...
The idea is to have a virtual field that calculates the age of the person
based on his day of birth...
Here is the
r_state(self):
reg = db.regular_user(db.regular_user.ruid==auth.user.id)
reg.state = 'step2'
reg.update_record()
Thanks anyway!!! I hope this is good for someone.
2014-02-13 9:08 GMT-03:00 Leandro E. Colombo Viña
:
> Hi guys!
>
> I've got a problem tryin
Hi guys!
I've got a problem trying to build a form for changing password. Here is my
controller:
@auth.requires_membership('regular_user')
def password_change():
form = auth.change_password(next=URL('step2'))
if form.process().accepted:
reg = db.regular_user(db.regular_user.ruid==
Hi guys!
I'm on my way to learning web2py and I need some help. I'm trying to build
a form to populate or modify a table with several rows at the same time.
The idea is this: I have a table which stores dates, more precisely, annual
dates (like holidays, for example). And I want to create a form t
5 matches
Mail list logo