mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-09 03:16:25 +00:00
[API/serializers.py] Get rid of Old Fields that doesn't exist anymore
This commit is contained in:
parent
e631624d79
commit
16170ef024
1 changed files with 5 additions and 5 deletions
|
@ -395,9 +395,10 @@ class GeneralOptionSerializer(NamespacedHMSerializer):
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = preferences.GeneralOption
|
model = preferences.GeneralOption
|
||||||
fields = ('general_message', 'search_display_page',
|
fields = ('general_message_fr', 'general_message_en',
|
||||||
'pagination_number', 'pagination_large_number',
|
'search_display_page', 'pagination_number',
|
||||||
'req_expire_hrs', 'site_name', 'email_from', 'GTU_sum_up',
|
'pagination_large_number', 'req_expire_hrs',
|
||||||
|
'site_name', 'email_from', 'GTU_sum_up',
|
||||||
'GTU')
|
'GTU')
|
||||||
|
|
||||||
|
|
||||||
|
@ -420,8 +421,7 @@ class AssoOptionSerializer(NamespacedHMSerializer):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = preferences.AssoOption
|
model = preferences.AssoOption
|
||||||
fields = ('name', 'siret', 'adresse1', 'adresse2', 'contact',
|
fields = ('name', 'siret', 'adresse1', 'adresse2', 'contact',
|
||||||
'telephone', 'pseudo', 'utilisateur_asso', 'payment',
|
'telephone', 'pseudo', 'utilisateur_asso', 'description')
|
||||||
'payment_id', 'payment_pass', 'description')
|
|
||||||
|
|
||||||
|
|
||||||
class HomeOptionSerializer(NamespacedHMSerializer):
|
class HomeOptionSerializer(NamespacedHMSerializer):
|
||||||
|
|
Loading…
Reference in a new issue