Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alesanchezr authored Oct 25, 2024
1 parent 221bb45 commit 47f7201
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions breathecode/admissions/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1796,7 +1796,7 @@ def get(self, request, syllabus_id, version, academy_id):
f"Día {day['id']}: {day['label']}",
", ".join([lesson["title"] for lesson in day["lessons"]]),
day.get("description", ""),
", ".join([tech["title"] for tech in day["technologies"]]),
", ".join([tech["title"] if isinstance(tech, dict) else tech for tech in day["technologies"]]),
day.get("teacher_instructions", ""),
]
)
Expand All @@ -1807,7 +1807,7 @@ def get(self, request, syllabus_id, version, academy_id):
f"Day {day['id']}: {day['label']}",
", ".join([lesson["title"] for lesson in day["lessons"]]),
day.get("description", ""),
", ".join([tech["title"] for tech in day["technologies"]]),
", ".join([tech["title"] if isinstance(tech, dict) else tech for tech in day["technologies"]]),
day.get("teacher_instructions", ""),
]
)
Expand Down

0 comments on commit 47f7201

Please sign in to comment.