sintonia/api/libretime_api/storage/serializers/storage.py

10 lines
206 B
Python

from rest_framework import serializers
from ..models import MusicDir
class MusicDirSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = MusicDir
fields = "__all__"