Conversion_Kitchen_Code/kitchen_counter/juggernaut/serializers.py

44 lines
1.3 KiB
Python
Raw Permalink Normal View History

2024-04-27 09:33:09 +00:00
from rest_framework import serializers
from .models import *
class JuggernautPackageSerializer(serializers.ModelSerializer):
class Meta:
model = JuggernautPackage
fields = '__all__'
# ''' for project center-->GET '''
# class JuggernautProjectCenterSerializer(serializers.ModelSerializer):
# class Meta:
# model = JuggernautProjectCenter
# fields = '__all__'
# ''' for narration -->GET '''
# class JuggernautNarrationSerializer(serializers.ModelSerializer):
# class Meta:
# model = JuggernautNarration
# fields = '__all__'
# ''' for pitchdeck -->GET '''
# class JuggernautPitchdeckSerializer(serializers.ModelSerializer):
# class Meta:
# model = JuggernautPitchdeck
# fields = '__all__'
''' for conversion '''
class JuggernautConversionSerializer(serializers.ModelSerializer):
class Meta:
model = JuggernautConversion
fields = '__all__'
# ''' for subtitle '''
# class JuggernautSubtitleSerializer(serializers.ModelSerializer):
# class Meta:
# model = JuggernautSubtitling
# fields = '__all__'
''' for beat sheet '''
# class JuggernautBeatSheetSerializer(serializers.ModelSerializer):
# class Meta:
# model = JuggernautBeatSheet
# fields = '__all__'