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:
parent
789a8dcb5d
commit
848f5eda87
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