6
0

achievement.py 217 B

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