Here is the code:
`fields=['id', 'name']`
`grid = SQLFORM.grid(db.engagement, fields=fields)`
Error:
`AttributeError('str' object has no attribute 'tablename')`
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/5a81348d-9145-4d61-b9d2-688330b074efn%40googlegroups.com.