from rest_framework.generics import ListAPIView, CreateAPIView
from .models import NumberCounter
from .serializers import UnpairedSerializer, NumberCounterSerializer


class UnpairedAPIView(CreateAPIView):
    """
    API View for send data list via POST method.
    """
    serializer_class = UnpairedSerializer


class StatisticAPIView(ListAPIView):
    """
    API View for get statistic.
    """
    queryset = NumberCounter.objects.all()
    serializer_class = NumberCounterSerializer

f23508b5cef88d4163548d64ba560147f3b14ba5
<mask token>


class UnpairedAPIView(CreateAPIView):
    <mask token>
    <mask token>


class StatisticAPIView(ListAPIView):
    """
    API View for get statistic.
    """
    queryset = NumberCounter.objects.all()
    serializer_class = NumberCounterSerializer

<mask token>


class UnpairedAPIView(CreateAPIView):
    <mask token>
    serializer_class = UnpairedSerializer


class StatisticAPIView(ListAPIView):
    """
    API View for get statistic.
    """
    queryset = NumberCounter.objects.all()
    serializer_class = NumberCounterSerializer

<mask token>


class UnpairedAPIView(CreateAPIView):
    """
    API View for send data list via POST method.
    """
    serializer_class = UnpairedSerializer


class StatisticAPIView(ListAPIView):
    """
    API View for get statistic.
    """
    queryset = NumberCounter.objects.all()
    serializer_class = NumberCounterSerializer

from rest_framework.generics import ListAPIView, CreateAPIView
from .models import NumberCounter
from .serializers import UnpairedSerializer, NumberCounterSerializer


class UnpairedAPIView(CreateAPIView):
    """
    API View for send data list via POST method.
    """
    serializer_class = UnpairedSerializer


class StatisticAPIView(ListAPIView):
    """
    API View for get statistic.
    """
    queryset = NumberCounter.objects.all()
    serializer_class = NumberCounterSerializer
