Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alesanchezr authored Nov 4, 2024
1 parent a0c7206 commit cdaa714
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions breathecode/admissions/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
[
Expand Down

0 comments on commit cdaa714

Please sign in to comment.