from django.contrib.auth.models import Photo
from rest_framework import serializers


class PhotoSerializers(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = Photo
        fields = (
            'title',
            'description',
            'date_created',
            'date_modified',
            'date_published',
            'published'
        )

add serializers