You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
padelclub_backend/sync/serializers.py

8 lines
234 B

from rest_framework import serializers
from .models import DataAccess
class DataAccessSerializer(serializers.ModelSerializer):
class Meta:
model = DataAccess
fields = '__all__'
read_only_fields = ['user']