mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 11:23:10 +00:00
Remove profile_image field from the api
This commit is contained in:
parent
50086cb346
commit
54ead7a117
1 changed files with 1 additions and 4 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue