'Convert a single serialized UsageKey string in a ReferenceField into a UsageKey.'

def _convert_reference_to_key(self, ref_string):

    key = UsageKey.from_string(ref_string)
    return key.replace(run=self.modulestore.fill_in_run(key.course_key).run)
