<reponame>foropolo/task
from rest_framework import serializers


class HelloSerializer(serializers.Serializer):
    """Serializes a name field for testing out APIView"""
    city_name = serializers.CharField(max_length=30)

from rest_framework import serializers


class HelloSerializer(serializers.Serializer):
    """Serializes a name field for testing out APIView"""
    city_name = serializers.CharField(max_length=30)
Serializes a name field for testing out APIView