From e4cd4e3c0a466b2f8156f0658f1c7123baa1473f Mon Sep 17 00:00:00 2001 From: Maxime Bombar Date: Fri, 12 Oct 2018 01:51:58 +0200 Subject: [PATCH] [API/serializers] Get rid of old fields in OptionalUserSerializer --- api/serializers.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/serializers.py b/api/serializers.py index 5ae525db..b8e617ba 100644 --- a/api/serializers.py +++ b/api/serializers.py @@ -359,8 +359,7 @@ class OptionalUserSerializer(NamespacedHMSerializer): class Meta: model = preferences.OptionalUser - fields = ('tel_mandatory', 'user_solde', 'solde_negatif', 'max_solde', - 'min_online_payment', 'gpg_fingerprint', + fields = ('tel_mandatory', 'gpg_fingerprint', 'all_can_create_club', 'self_adhesion', 'shell_default')