chore: upgrading djangorestframework. (#32487)

* chore: upgrading djangorestframework.
This commit is contained in:
Awais Qureshi
2023-06-20 16:03:34 +05:00
committed by GitHub
parent 4048bf9fb4
commit 2a1cf5f0d0
8 changed files with 54 additions and 42 deletions

View File

@@ -50,7 +50,7 @@ class CourseEntitlementSupportDetailSerializer(serializers.ModelSerializer):
slug_field='username',
default=serializers.CurrentUserDefault()
)
unenrolled_run = CourseKeyField('unenrolled_run.id')
unenrolled_run = CourseKeyField(read_only='unenrolled_run.id')
class Meta:
model = CourseEntitlementSupportDetail