diff --git a/lms/djangoapps/badges/api/serializers.py b/lms/djangoapps/badges/api/serializers.py index 9013c071d96f..6af8e7a0c728 100644 --- a/lms/djangoapps/badges/api/serializers.py +++ b/lms/djangoapps/badges/api/serializers.py @@ -36,7 +36,7 @@ class Meta: class BadgeUserSerializer(serializers.ModelSerializer): """ - Serializer for the BadgeAssertion model. + Serializer for the User model. """ name = serializers.CharField(source='profile.name') profile_image_url = serializers.SerializerMethodField() @@ -61,7 +61,7 @@ class Meta: class UserLeaderboardSerializer(serializers.ModelSerializer): """ - Serializer for the BadgeAssertion model. + Serializer for the LeaderboardEntry model. """ user = BadgeUserSerializer(read_only=True) diff --git a/lms/djangoapps/badges/tasks.py b/lms/djangoapps/badges/tasks.py index 122c83fea636..008497f10537 100644 --- a/lms/djangoapps/badges/tasks.py +++ b/lms/djangoapps/badges/tasks.py @@ -7,7 +7,7 @@ from celery import shared_task from celery_utils.logged_task import LoggedTask from edx_django_utils.monitoring import set_code_owner_attribute -from lms.djangoapps.badges.models import BadgeAssertion, LeaderboardConfiguration, LeaderboardEntry +from lms.djangoapps.badges.models import LeaderboardEntry log = logging.getLogger(__name__)