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
-~----------~----~----~----~------~----~------~--~---- [web2py:25095] How to write requires clause weheh
- [web2py:25098] Re: How to write requires clause mdipierro
- [web2py:25099] Re: How to write requires clause weheh
- [web2py:25131] Re: How to write requires clause weheh
- [web2py:25135] Re: How to write requires clause mdipierro
- [web2py:25181] Re: How to write requires c... weheh
- [web2py:25185] Re: How to write requir... mdipierro
- [web2py:25188] Re: How to write re... weheh
- [web2py:25253] Re: How to write re... MikeEllis
- [web2py:25258] Re: How to write re... mdipierro
- [web2py:25260] Re: How to write re... MikeEllis
- [web2py:25263] Re: How to write re... mdipierro
- [web2py:25266] Re: How to write re... MikeEllis
- [web2py:25279] Re: How to write re... MikeEllis

