'Prefetches grades for the given users for the given course.'

@classmethod
def prefetch(cls, course_id, users):

    get_cache(cls.CACHE_NAMESPACE)[cls._cache_key(course_id)] = {grade.user_id: grade for grade in cls.objects.filter(user_id__in=[user.id for user in users], course_id=course_id)}
