From cb45f4082149ebcc92bebac09365541ffe052007 Mon Sep 17 00:00:00 2001 From: grisel-davy Date: Wed, 31 Oct 2018 20:16:06 +0100 Subject: [PATCH] utilisation de get_mail au lieu de email --- api/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/serializers.py b/api/serializers.py index 4df2f4e9..f520cf98 100644 --- a/api/serializers.py +++ b/api/serializers.py @@ -1030,7 +1030,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):