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

Remove profile_image field from the api

This commit is contained in:
grisel-davy 2020-10-22 15:43:06 +02:00 committed by Gabriel Detraz
parent 50086cb346
commit 54ead7a117

View file

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