8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-26 00:43:46 +00:00

Changement dans le model iptype

This commit is contained in:
Gabriel Detraz 2017-08-29 02:09:13 +02:00
parent 789a8dcb5d
commit 848f5eda87

View file

@ -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')