Re: [web2py] auth.signature

2011-02-08 Thread David J.
This is long overdue; although it was in the book; I was using the default auth_user table; I really dont know when the user was registered? Whoops; this will solve this problem Thanks. On 2/8/11 4:04 PM, Bruno Rocha wrote: 2011/2/8 pbreit mailto:pbreitenb...@gmail.com>> Hmmm, still d

Re: [web2py] auth.signature

2011-02-08 Thread Richard Vézina
Knowing who create, update a record then you can track with crud.archive what were the operation done on the record. Richard On Tue, Feb 8, 2011 at 4:02 PM, pbreit wrote: > Hmmm, still don't really understand. What's the use case?

Re: [web2py] auth.signature

2011-02-08 Thread Bruno Rocha
2011/2/8 pbreit > Hmmm, still don't really understand. What's the use case? Very useful when you want to know who is the creator of a record, when the record was created, and the same for updates.

Re: [web2py] auth.signature

2011-02-08 Thread pbreit
Hmmm, still don't really understand. What's the use case?

Re: [web2py] auth.signature

2011-02-08 Thread Bruno Rocha
2011/2/8 Massimo Di Pierro > In trunk, give it a try: > > >>> db.define_table('mytable', Field('whatever'), auth.signature) > >>> print db.mytable.fields() > Very nice! I always use a default signature 80 #DEFAULT SIGNATURE 81 signature = db.Table(db,'signature', 82 Field('crea