w
clone your own copy | download snapshot

Snapshots | iceberg

No images in this repository’s iceberg at this time

Inside this repository

serializers.py
text/x-python

Download raw (351 bytes)

from .models import Score
from rest_framework import serializers
from rest_framework_recursive.fields import RecursiveField


class ScoreSerializer(serializers.HyperlinkedModelSerializer):
    id = serializers.ReadOnlyField()

    class Meta:
        model = Score
        #fields = ('id', 'title', 'stage_set', 'mainline')
        fields = '__all__'