Hello all.
I have a many to many relationship like that:
db.define_table('skills',
Field('name', type='string', requires=IS_NOT_EMPTY()),
format='%(name)s')
db.define_table("projects",
Field('title', type='string', requires=IS_NOT_EMPTY()),
format='%(title)s')
db.define_table('skills_and_projects',
Field('skill', 'reference skills'),
Field('project', 'reference projects'))
Which is the best way to build an interface for adding a project record
including the skills?
I've saw these widgets:
SQLFORM.widgets.multiple.widget
SQLFORM.widgets.checkboxes.widget
But it seems that they are made only to deal with string lists.
Someone have a suggestion?
Thanks.
--
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.