1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 07:02:22 +00:00

Send a mail to people in a team

This commit is contained in:
Yohann D'ANELLO 2020-05-06 00:20:39 +02:00
parent 6b698c95cc
commit 49ae0f18f5

View File

@ -165,7 +165,7 @@ class TeamDetailView(LoginRequiredMixin, DetailView):
context = super().get_context_data(**kwargs) context = super().get_context_data(**kwargs)
context["title"] = _("Information about team") context["title"] = _("Information about team")
context["team_users_emails"] = [user.email for user in self.object.users] context["team_users_emails"] = [user.email for user in self.object.users.all()]
return context return context