On Sep 9, 7:19 am, "[email protected]" <[email protected]>
wrote:
> Is it possible to give the label in the IS_IN_DB function more than
> one value?
> I mean somthing like this:
> ...requires = IS_IN_DB(db, 'test.id',  "%s - %s" % (db.test.col1,
> db.test.col2))

Yes:

IS_IN_DB(db, 'auth_user.id','%(id)s: %(first_name)s %(last_name)s')

F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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