From 7e2e900a01eb34531a7665a87c854bb17369c5bc Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Sat, 20 Jun 2020 11:30:47 +0200 Subject: [PATCH] Fix, can't serialize this var --- preferences/api/serializers.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/preferences/api/serializers.py b/preferences/api/serializers.py index 736e4afc..04c01c48 100644 --- a/preferences/api/serializers.py +++ b/preferences/api/serializers.py @@ -150,7 +150,6 @@ class AssoOptionSerializer(NamespacedHMSerializer): "adresse2", "contact", "telephone", - "profile_image", "pseudo", "utilisateur_asso", "description", @@ -172,4 +171,4 @@ class MailMessageOptionSerializer(NamespacedHMSerializer): class Meta: model = preferences.MailMessageOption - fields = ("welcome_mail_fr", "welcome_mail_en") \ No newline at end of file + fields = ("welcome_mail_fr", "welcome_mail_en")