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

Changement dans le model iptype

This commit is contained in:
chirac 2017-08-29 02:09:13 +02:00
parent f1373ee5be
commit d74b8dfd93

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