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

Remove profile_image field from the api

This commit is contained in:
grisel-davy 2020-10-22 15:43:06 +02:00
parent 98a5c01430
commit 5163fd5e53

View file

@ -45,7 +45,6 @@ class UserSerializer(NamespacedHMSerializer):
"state",
"registered",
"telephone",
"profile_image",
"solde",
"access",
"end_access",
@ -78,7 +77,6 @@ class ClubSerializer(NamespacedHMSerializer):
"state",
"registered",
"telephone",
"profile_image",
"solde",
"room",
"access",
@ -114,7 +112,6 @@ class AdherentSerializer(NamespacedHMSerializer):
"state",
"registered",
"telephone",
"profile_image",
"room",
"solde",
"access",
@ -244,4 +241,4 @@ class MailingSerializer(ClubSerializer):
admins = MailingMemberSerializer(source="administrators", many=True)
class Meta(ClubSerializer.Meta):
fields = ("name", "members", "admins")
fields = ("name", "members", "admins")