Thanks, adding format='%('city_name)s' solves the first problem. That's
obviously in the book...
But the line db.children.city.requires = IS_IN_DB(db, db.parent.id,'%(name)s')
doesn't work actually. I get:
<type 'exceptions.AttributeError'> 'DAL' object has no attribute 'parent'
--
---
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/groups/opt_out.