mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-27 15:12:25 +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:
commit
2747fa463f
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue