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

def get_most_recent_exercises ( user ) : exercises_by_user = ExerciseLog . objects . filter ( user = user ) . order_by ( '-latest_activity_timestamp' ) . values_list ( 'exercise_id' , flat = True ) return exercises_by_user
return a list of the most recent exercises accessed by the user .