Skip to content

Commit

Permalink
temp: use scheme specified in plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi committed Aug 25, 2023
1 parent 585e40f commit 63ca4b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openedx/core/djangoapps/course_groups/partition_scheme.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ def get_grouped_user_partition(course):
or None if one is not found. Note that it is currently recommended that each course have only
one cohorted user partition.
"""
from platform_plugin_groups.scheme import GroupPartitionScheme
for user_partition in course.user_partitions:
if user_partition.scheme == GroupPartitionScheme:
return user_partition
Expand Down

0 comments on commit 63ca4b0

Please sign in to comment.