예제 #1
0
 def get_group_name(self, instance):
     """Return the group name of the user."""
     group_id = get_group_id_for_user(instance,
                                      self.course_discussion_settings)
     group_name = get_group_name(group_id, self.course_discussion_settings)
     return group_name
예제 #2
0
 def get_group_name(self, instance):
     """Return the group name of the user."""
     group_id = get_group_id_for_user(instance, self.course_discussion_settings)
     group_name = get_group_name(group_id, self.course_discussion_settings)
     return group_name