from rest_framework import serializers
from .models import IpAddress


class IpAddressSerializer(serializers.ModelSerializer):
    class Meta:
        model = IpAddress
        fields = '__all__'
        read_only_fields = ('ip_address','status',)
77b15ea90cb722fa2a2f606a6935477554ec60d5
<mask token>

<mask token>


class IpAddressSerializer(serializers.ModelSerializer):


    class Meta:
        model = IpAddress
        fields = '__all__'
        read_only_fields = 'ip_address', 'status'

from rest_framework import serializers
from .models import IpAddress


class IpAddressSerializer(serializers.ModelSerializer):


    class Meta:
        model = IpAddress
        fields = '__all__'
        read_only_fields = 'ip_address', 'status'

from rest_framework import serializers
from .models import IpAddress


class IpAddressSerializer(serializers.ModelSerializer):
    class Meta:
        model = IpAddress
        fields = '__all__'
        read_only_fields = ('ip_address','status',)