from rest_framework import serializers from api.TestAddress.model import Address class AddressSerializer(serializers.ModelSerializer): class Meta: model=Address fields="__all__"