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:
parent
6b698c95cc
commit
49ae0f18f5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user