diff --git a/apps/courses/serializers.py b/apps/courses/serializers.py index 02f3b5a..9c6a6a3 100644 --- a/apps/courses/serializers.py +++ b/apps/courses/serializers.py @@ -54,6 +54,8 @@ class Meta: fields = ( "id", "name", + "is_from_trajectory", + "requires_subscription", "who_created", "file_link", "quantity_of_levels", diff --git a/apps/tests/courses_tests/constants.py b/apps/tests/courses_tests/constants.py index f821b73..59df082 100644 --- a/apps/tests/courses_tests/constants.py +++ b/apps/tests/courses_tests/constants.py @@ -89,6 +89,8 @@ { "id": 1, "name": "Навык 1", + "is_from_trajectory": False, + "requires_subscription": True, "who_created": "Создатель", "file_link": "http://some.com/", "free_access": False,