micro_service_placeholder/microService/api/TestAddress/serializer.py

6 lines
197 B
Python

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