Hello i found a bug that does not produces any kind of error.
When i have
define_table(''thistable'
Field("field",db.othertable)
)
othertable must be declared before thistable,otherwise i get an error
But if i change this code to
define_table(''thistable'
Field("field",'list: reference othertable')
)
if i declare othertable after thistable i dont get any error and only get
this field as List of String instead of list of fields in othertable
Regards
António
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.