Commit d74b8dfd authored by chirac's avatar chirac
Browse files

Changement dans le model iptype

parent f1373ee5
......@@ -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')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment