1
0

resource.py 206 B

1234567
  1. from rest_framework import serializers
  2. from metaservicesynced.models import Resource
  3. class ResourceSerializer(serializers.ModelSerializer):
  4. class Meta:
  5. model = Resource
  6. exclude = ["id"]