From 312e13400d1a9bea6b3ef999939baef86df43e6f Mon Sep 17 00:00:00 2001 From: Toksi86 Date: Mon, 19 May 2025 13:33:55 +0500 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=BF=D0=BE=D0=BB=D1=8F=20"is=5Ffrom=5Ftrajecto?= =?UTF-8?q?ry"=20"requires=5Fsubscription"=20=D0=BF=D1=80=D0=B8=20=D1=81?= =?UTF-8?q?=D0=B5=D1=80=D0=B8=D0=B0=D0=BB=D0=B8=D0=B7=D0=B0=D1=86=D0=B8?= =?UTF-8?q?=D0=B8=20=D1=81=D0=BF=D0=B8=D1=81=D0=BA=D0=B0=20=D0=BD=D0=B0?= =?UTF-8?q?=D0=B2=D1=8B=D0=BA=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/courses/serializers.py | 2 ++ apps/tests/courses_tests/constants.py | 2 ++ 2 files changed, 4 insertions(+) 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,