def get_struggling_exercises(user):
 struggles = ExerciseLog.objects.filter(user=user, struggling=True).order_by('-latest_activity_timestamp').values_list('exercise_id', flat=True)
 return struggles

def get_struggling_exercises ( user ) : struggles = ExerciseLog . objects . filter ( user = user , struggling = True ) . order_by ( '-latest_activity_timestamp' ) . values_list ( 'exercise_id' , flat = True ) return struggles
return a list of all exercises that the user is currently struggling on .