- # @Author : Rocky
- # @File : serializers.py
- # @Time : 2023/7/24 13:35
- from rest_framework.serializers import ModelSerializer
- from background.models import ProductInfo
- class ProductInfoSerializer(ModelSerializer):
- class Meta:
- model = ProductInfo
- fields = '__all__'
|