set fields to all in serializer django code example
Example: serializers.py include all fields
# Include all fields in the Order model in the Serializer
class OrderSerializer(serializers.ModelSerializer):
class Meta:
model = Order
fields = '__all__'