8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-27 01:13:46 +00:00

Merge branch 'mailing' into 'dev'

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

See merge request federez/re2o!261
This commit is contained in:
chirac 2018-08-21 11:52:22 +02:00
commit 2747fa463f

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.