Skip to content

Commit 8963e78

Browse files
authored
docs: Improve collection_code/key TODO comment
1 parent e030204 commit 8963e78

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

openedx/core/djangoapps/content_libraries/rest_api/serializers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ class ContentLibraryCollectionSerializer(serializers.ModelSerializer):
285285
Serializer for a Content Library Collection
286286
"""
287287
# Expose Collection.collection_code as "key" to preserve the REST API field name.
288+
# https://github.com/openedx/openedx-platform/issues/38406
288289
key = serializers.CharField(source='collection_code')
289290

290291
class Meta:

0 commit comments

Comments
 (0)