'Grab score information.'

def fetch_scores(self, locations):

    scores_qset = StudentModule.objects.filter(student_id=self.user_id, course_id=self.course_key, module_state_key__in=set(locations))
    self._locations_to_scores.update({UsageKey.from_string(location).map_into_course(self.course_key): self.Score(correct, total, created) for (location, correct, total, created) in scores_qset.values_list('module_state_key', 'grade', 'max_grade', 'created')})
    self._has_fetched = True
