Hello,
My example app has two models.
db.define_table('person', Field('name'))
db.define_table('dog', Field('name'), Field('owner',db.person))
In controller/default.py I define this method:
def manage_person():
form = SQLFORM.grid(db.person)
return dict(form=form)
This code render the table of persons. When I click on edit button in a
row, the app goes to the person edit page.
Inside this page I want to add a SQLFORM.grid of dogs owned by this person,
to allow add dogs, since I edit person.
How can I do that?
--