diff --git a/breathecode/registry/serializers.py b/breathecode/registry/serializers.py index 150914336..1b93d26a3 100644 --- a/breathecode/registry/serializers.py +++ b/breathecode/registry/serializers.py @@ -368,6 +368,8 @@ class AssetBigSerializer(AssetMidSerializer): delivery_instructions = serpy.Field() delivery_formats = serpy.Field() delivery_regex_url = serpy.Field() + template_url = serpy.Field() + dependencies = serpy.Field() academy = AcademySmallSerializer(required=False) diff --git a/breathecode/registry/tests/urls/v1/tests_academy_asset.py b/breathecode/registry/tests/urls/v1/tests_academy_asset.py index 7f370a162..1d5a1d088 100644 --- a/breathecode/registry/tests/urls/v1/tests_academy_asset.py +++ b/breathecode/registry/tests/urls/v1/tests_academy_asset.py @@ -76,6 +76,9 @@ def database_item(academy, category, data={}): "enable_table_of_content": True, "agent": None, "learnpack_deploy_url": None, + "template_url": None, + "dependencies": None, + "preview_in_tutorial": None, **data, } @@ -133,6 +136,8 @@ def post_serializer(academy, category, data={}): "agent": None, "learnpack_deploy_url": None, "updated_at": UTC_NOW.isoformat().replace("+00:00", "Z"), + "template_url": None, + "dependencies": None, **data, }