micro_service_placeholder/microService/api/TestAddress/serializer.py

6 lines
197 B
Python
Raw Permalink Normal View History

2024-11-30 05:34:13 +00:00
from rest_framework import serializers
from api.TestAddress.model import Address
class AddressSerializer(serializers.ModelSerializer):
class Meta:
model=Address
fields="__all__"