Please use newstyle string formatting: `"/artists/{0}".format(artist_id)"`.