You can but not if the latter (requires) uses a variable (db.x) is not
yet defined (you are inside db.define_table('x',...)On Jun 28, 5:49 pm, weheh <[email protected]> wrote: > This works now, but only if written exactly as you wrote it above -- > separating the requires clause from the define_table clause. I wonder > why you can't combine the two into a single > db.define_table('x', db.Field(...), ... x.name.requires=[...])? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

