1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-24 17:42:23 +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["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