Skip to content

Commit 3f7e834

Browse files
authored
Merge pull request #207 from PROCOLLAB-github/fix/skill-list-serialization
В all-skills добавлены поля "is_from_trajectory" "requires_subscription"
2 parents e317f17 + 312e134 commit 3f7e834

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

apps/courses/serializers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ class Meta:
5454
fields = (
5555
"id",
5656
"name",
57+
"is_from_trajectory",
58+
"requires_subscription",
5759
"who_created",
5860
"file_link",
5961
"quantity_of_levels",

apps/tests/courses_tests/constants.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@
8989
{
9090
"id": 1,
9191
"name": "Навык 1",
92+
"is_from_trajectory": False,
93+
"requires_subscription": True,
9294
"who_created": "Создатель",
9395
"file_link": "http://some.com/",
9496
"free_access": False,

0 commit comments

Comments
 (0)