You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
box-o-sand/ares/www/families/%surname.json

11 lines
222 B

from server.families import Families
__families__ = Families()
family = __families__.get_by_surname(path['surname'])
if family:
response.body = {'family': family}
else:
response.code = 404
# vim:filetype=python