44 lines
1.3 KiB
Python
44 lines
1.3 KiB
Python
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__' |