from rest_framework import serializers
from .models import Urls


class UrlsSerializer(serializers.ModelSerializer):


    class Meta:
        model = Urls
        fields = ('id', 'url', 'short_url', 'text_message', 'click_count',
            'add_date')

a07df0b13382da4a2f643e79c69de7393a303739
<mask token>

<mask token>


class UrlsSerializer(serializers.ModelSerializer):


    class Meta:
        model = Urls
        fields = ('id', 'url', 'short_url', 'text_message', 'click_count',
            'add_date')

from rest_framework import serializers
from .models import Urls


class UrlsSerializer(serializers.ModelSerializer):


    class Meta:
        model = Urls
        fields = ('id', 'url', 'short_url', 'text_message', 'click_count',
            'add_date')
