mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-05 09:26:27 +00:00
Changement dans le model iptype
This commit is contained in:
parent
f1373ee5be
commit
d74b8dfd93
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class TypeSerializer(serializers.ModelSerializer):
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = IpType
|
model = IpType
|
||||||
fields = ('type', 'extension', 'domaine_ip', 'domaine_range')
|
fields = ('type', 'extension', 'domaine_ip_start', 'domaine_ip_stop')
|
||||||
|
|
||||||
class ExtensionSerializer(serializers.ModelSerializer):
|
class ExtensionSerializer(serializers.ModelSerializer):
|
||||||
origin = serializers.SerializerMethodField('get_origin_ip')
|
origin = serializers.SerializerMethodField('get_origin_ip')
|
||||||
|
|
Loading…
Reference in a new issue