w2p.define_table('person',
Field('name', 'string', length=100, notnull=True),
Field('info', 'string', length=100),
primarykey=['name']
)
w2p.define_table('persona',
Field('name', 'string', length=100, notnull=True),
Field('info', 'string', length=100)
)
<a href="<function <lambda> at 0x00000000071AAEB8>/person?name=Ana">Ana</a>
http://10.0.0.27:8000/test/appadmin/select/%3Cfunction%20%3Clambda%3E%20at%200x00000000071AAEB8%3E/person?name=Ana
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.