from .models import ContactForm
from rest_framework import serializers


class ContactFormSerializer(serializers.ModelSerializer):


    class Meta:
        model = ContactForm
        fields = ['name', 'lname', 'date_created', 'message']

f4e1beb7d91465470209e1f6ce24adc5a4a18611
<mask token>

<mask token>


class ContactFormSerializer(serializers.ModelSerializer):


    class Meta:
        model = ContactForm
        fields = ['name', 'lname', 'date_created', 'message']

from .models import ContactForm
from rest_framework import serializers


class ContactFormSerializer(serializers.ModelSerializer):


    class Meta:
        model = ContactForm
        fields = ['name', 'lname', 'date_created', 'message']
