Example of parse_as_rest function, there define tables
db.define_table('person',Field('name'),Field('info'))
db.define_table('pet',Field('ownedby',db.person),Field('name'),Field('info'))
which are served with the pattern
That means a valid URL is for instance
/Tom/pets/BlackCat
Is it possible to simplify the pattern, so that
/Tom/BlackCat
is also valid?
I am aware that url routing does the trick, but I just wonder if there is a more direct way to set up the pattern?
Thanks