From 848f5eda8717f4b1a1ff601fd3e2607d664441b8 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Tue, 29 Aug 2017 02:09:13 +0200 Subject: [PATCH] Changement dans le model iptype --- machines/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/serializers.py b/machines/serializers.py index 2a29a6bc..326f27f7 100644 --- a/machines/serializers.py +++ b/machines/serializers.py @@ -64,7 +64,7 @@ class TypeSerializer(serializers.ModelSerializer): class Meta: model = IpType - fields = ('type', 'extension', 'domaine_ip', 'domaine_range') + fields = ('type', 'extension', 'domaine_ip_start', 'domaine_ip_stop') class ExtensionSerializer(serializers.ModelSerializer): origin = serializers.SerializerMethodField('get_origin_ip')