def METHOD_NAME(exercise, set_id):
    """
    Does a filter on the sets
    We need to do this here because it's not possible to pass arguments to function in
    the template, and we are only interested on the settings that belong to the current
    set
    """
    return exercise.exercise_base.setting_set.filter(set_id=set_id)