Spaces:
Running
Running
File size: 461 Bytes
5538ec7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
from rest_framework import serializers
from .models import TaxTechApp, TaxData, Company
class TaxTechAppSerializer(serializers.ModelSerializer):
class Meta:
model = TaxTechApp
fields = '__all__'
class TaxDataSerializer(serializers.ModelSerializer):
class Meta:
model = TaxData
fields = '__all__'
class CompanySerializer(serializers.ModelSerializer):
class Meta:
model = Company
fields = '__all__' |