cineclub-site/server/myapi/serializers.py
2022-04-06 15:39:44 +02:00

9 lines
185 B
Python

from rest_framework import serializers
from .models import Film
class FilmSerializer(serializers.ModelSerializer):
class Meta:
model = Film
fields = "__all__" #