favoritecontacts.py 255 B

1234567
  1. from rest_framework import serializers
  2. from metaservicesynced.models import Favoritecontacts
  3. class FavoritecontactsSerializer(serializers.ModelSerializer):
  4. class Meta:
  5. model = Favoritecontacts
  6. fields= ['full_name','phone_number','id']