def get_soles_for_home(): """ Get all the soles close to the current location """ lat, lon = get_lat_lon() r = Sole.find(db, lat, lon) return json.dumps(r)