Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion devroom-settings/devroom_settings/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def save(self, *args, **kwargs):
self.manager_team.save()
# mail should be stable from now on
# self.mail = f"{self.slug}[email protected]"
if self.cfp_url and self.cfp_url != "":
if self.cfp_url and self.cfp_url != "" and str(self.track.description) == "":
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bit of a hack to preserve the original default description but allow it to be modified afterwards

self.track.description = f"Make sure you read the track CfP details at {self.cfp_url}"
self.track.save()

Expand Down
2 changes: 2 additions & 0 deletions devroom-settings/devroom_settings/nanoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,8 @@ def tracks(self):
"end_time": end_time,
"start_time_index": start_time_index,
"end_time_index": end_time_index,
"description": str(track.description),

}
return tracks_dict

Expand Down