sport_preferrence.py 232 B

12345678
  1. from rest_framework import serializers
  2. from webservice_running.models import SportPreferrence
  3. class SportPreferrenceSerializer(serializers.ModelSerializer):
  4. class Meta:
  5. model = SportPreferrence
  6. exclude = ["id"]