Hi All,
I am migrating table from existing table which has primary key with two
fields.
After migrating the table i created SQLFORM.grid and used selectable to
process the selected tuples.
selectable = [('Approve Selected names', lambda ids: approve_name(ids))]
Its giving the following error.
<type 'exceptions.AttributeError'> 'Table' object has no attribute '_id'
How do i solve this error keeping both field as key
Thanks and Regards
--
DISCLAIMER: This email and any attachments transmitted with it may contain
confidential, copyrighted, proprietary and legally privileged information
and is intended only for the individual named. If you are not the named
addressee you should not disseminate, distribute, print, disclose or copy
this e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and destroy this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late,
incomplete or virus-free. The sender does not accept liability for any
errors or omissions in the contents of this message, which arise as a
result of e-mail transmission.
--
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/6fbb3998-ab38-4c0f-ad95-0fb0ce307e79%40googlegroups.com.