from rest_framework import serializers
from leads.models import Lead

#Lead Serializer

class LeadSerializer(serializers.ModelSerializer):
	class Meta:
		model = Lead
		fields = '__all__'
from rest_framework import serializers
from leads.models import Lead

#Lead Serializer

class LeadSerializer(serializers.ModelSerializer):
	class Meta:
		model = Lead
		fields = '__all__'
#Lead Serializer