On Feb 25, 3:25 pm, mdipierro <mdipie...@cs.depaul.edu> 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 web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to