-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
BeginnerThis would be a good task for a beginner to take on, to learn about the projectThis would be a good task for a beginner to take on, to learn about the projectBug
Description
I noticed that emails when a participant joins a competition did not include their usernames even though the base_email.html seems to look for it.
Anticipated problem:
The problem is in how the email context is set up in the competition participation emails.
How I fixed on mine:
In the src/apps/competitions/emails.py I updated the the 3 places where this shows up:
context = {
'participant': participant
}with this
context = {
'participant': participant,
'user': participant.user
}Please let me know if that was the right thing to do.
Thanks!
Metadata
Metadata
Assignees
Labels
BeginnerThis would be a good task for a beginner to take on, to learn about the projectThis would be a good task for a beginner to take on, to learn about the projectBug