Skip to content
Snippets Groups Projects
Verified Commit b51ff2bd authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Fix __str__ method of Documentation

parent 6d56e672
Branches fix-buttons
No related tags found
1 merge request!396Migration path to new models
Pipeline #192617 failed with stages
in 2 minutes
......@@ -122,7 +122,7 @@ class Documentation(CalendarEvent):
start_datetime = CalendarEvent.value_start_datetime(self)
end_datetime = CalendarEvent.value_end_datetime(self)
return (
f"{','.join(self.get_groups())} {self.get_subject()}"
f"{','.join([str(g) for g in self.get_groups()])} {self.get_subject()}"
+ f" {start_datetime} - {end_datetime}"
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment