db.py:
db.define_table('test',SQLField('auth_user',db.auth_user),SQLField
('name','string'))

controller.py:
def create():
  form=FORM(...)
  if form.accepts(request.vars,session):
    id=db.test.insert
(name=form.vars.name,auth_user=db.auth_user)    ???????

Question -- how do I create the link to the current logged-in
auth_user?
--~--~---------~--~----~------------~-------~--~----~
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