def family_detail(obj_id): obj = Family.get(obj_id) if not obj: abort(404) return render_template('family_detail.html', obj=obj)