8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-26 22:52:26 +00:00

l au lieux de user.mail pour génerer la ml

This commit is contained in:
grisel-davy 2018-08-16 11:53:24 +02:00 committed by chirac
parent da3f1f5d59
commit 4a9f643339

View file

@ -872,7 +872,7 @@ class MailingMemberSerializer(UserSerializer):
"""Serialize the data about a mailing member.
"""
class Meta(UserSerializer.Meta):
fields = ('name', 'pseudo', 'email')
fields = ('name', 'pseudo', 'get_mail')
class MailingSerializer(ClubSerializer):
"""Serialize the data about a mailing.