On Feb 25, 3:25 pm, mdipierro <[email protected]> wrote:
> SQLField('created_by',db.auth_user,default=session.auth.user.id if
> auth.is_logged_in() else 0,writable=False)

Perfect tx :)

Another example for the Auth page methinks :)

F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to