Commit 2747fa46 authored by chirac's avatar chirac

Merge branch 'mailing' into 'dev'

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

See merge request federez/re2o!261
parents da3f1f5d 4a9f6433
Pipeline #806 failed with stage
...@@ -872,7 +872,7 @@ class MailingMemberSerializer(UserSerializer): ...@@ -872,7 +872,7 @@ class MailingMemberSerializer(UserSerializer):
"""Serialize the data about a mailing member. """Serialize the data about a mailing member.
""" """
class Meta(UserSerializer.Meta): class Meta(UserSerializer.Meta):
fields = ('name', 'pseudo', 'email') fields = ('name', 'pseudo', 'get_mail')
class MailingSerializer(ClubSerializer): class MailingSerializer(ClubSerializer):
"""Serialize the data about a mailing. """Serialize the data about a mailing.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment