In my application, one has urls and tags. What I'm doing is when the user entering data for an url, he/she will also select relative tags.
I store urls and tags into two different tables and I plan to use a reference table which describe the many-to-many relationship between tags and urls.
I could tell which tags are selected by the user. (as each tag has a boolean variable for that purpose.)
So when the user creating 1 new url and select 5 tags, when he click the submit button, it seems a lot need to happen in the backend: submit 1 SQLFORM for creating that url + creating 5 SQLFORMs each describes a relationship between a tag and the new url.
I have no idea how to accomplish this in web2py.
Am I doing it the right way?
Thanks for your helps in advance!!