From cdaa714f956effdd42247fb2e140f7b1b839725d Mon Sep 17 00:00:00 2001 From: Alejandro Sanchez Date: Mon, 4 Nov 2024 15:53:22 -0500 Subject: [PATCH] Update views.py --- breathecode/admissions/views.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/breathecode/admissions/views.py b/breathecode/admissions/views.py index 6a6762297..01b8f557b 100644 --- a/breathecode/admissions/views.py +++ b/breathecode/admissions/views.py @@ -1834,6 +1834,9 @@ def get(self, request, syllabus_id, version, academy_id): # Write the data rows for each day for day in sorted(syllabus_version.json["days"], key=lambda x: x["position"]): week_number = math.ceil(cumulative_days / class_days_per_week) + if "technologies" not in day: + day["technologies"] = [] + if lang == "es": writer.writerow( [