Product-Manager/z3/product-manager-backend/products/serializers.py

10 lines
191 B
Python
Raw Normal View History

2022-04-25 12:07:08 +00:00
from rest_framework import serializers
from .models import Product
class ProductSerializer(serializers.ModelSerializer):
class Meta:
model = Product
fields = '__all__'