Skip to content
Snippets Groups Projects
Commit 12b298ef authored by florimondmanca's avatar florimondmanca
Browse files

fix notification rendering bugs

parent 148cfe26
No related branches found
No related tags found
No related merge requests found
......@@ -34,10 +34,10 @@ class Confirm(Notification):
args = ('participation',)
def get_subject(self):
return f'Participation à la sortie : {self.visit}'
return f'Participation à la sortie : {self.participation.visit}'
def get_recipients(self):
return [self.user.email]
return [self.participation.user.email]
@classmethod
def example(cls):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment