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

Renvois l'adresse mail par get_mail au lieux de email

This commit is contained in:
grisel-davy 2018-10-31 20:09:46 +01:00
parent e723ce018d
commit 83522833e8

View file

@ -964,7 +964,7 @@ class ReminderUsersSerializer(UserSerializer):
"""Serialize the data about a mailing member.
"""
class Meta(UserSerializer.Meta):
fields = ('get_full_name', 'email')
fields = ('get_full_name', 'get_mail')
class ReminderSerializer(serializers.ModelSerializer):